SnakeClassic
- Install and configure SDL2 CUDA(optional) SDL2_Net
- Configure variables in
compile.sh. See SnakeAI for details. - Compile
Options:
| option | Description |
|---|---|
| - | play the game |
| 0 | probabilistic heurisitc algorithm (requires CUDA) |
| 1 | Greedy algorithm |
| 2 | Network Controller: Accepts commands over TCP |
Compilation Options:
- To play
./compile.sh
- To select probabilistic heurisitc algorithm
./compile.sh 0
- To select Greedy Algorithm
./compile.sh 1