Skip to content

bbeni/genetic_bros

Repository files navigation

Windows Setup

Download Mingw-w64 https://www.mingw-w64.org/downloads/ and add to go environment:

go env -w CGO_ENABLED=1
go env -w CC=C:\mingw64\bin\gcc.exe

Playing The Game

Then build the game and play it with (the build might take a long time the first time, beacuse it compiles open-gl stuff - just trust the process and wait!)

go build ./play_game/
./play_game.exe

Running The Bots

Move Sequence Bot

go run ./bot/

Neural Network Bot

go run ./bot_nn/

About

Genetic algorithm 2048

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published