snake-ai is an extensible and customizable snake game; that offers a CLI & supports training neural networks.
- CLI - A decent part of this project is its command line interface. It allows you to work more easily & gives you access to a bunch of useful perks (such as being able to change snake's color while the game is running). To list all available commands use the
help
command.
cli.webm
- Game - The snake game itself is created using pygame. It's cleanly written and open for extension.
- Plotter - matplotlib is being used to show nice graphs of achieved scores.
- AI - You can train, save and load neural networks at almost no effort. CLI and plotter make it convenient to track progress of your models.
- Config - thanks to the config module, a lot of settings can be managed directly from a .json file.
All contributions are greatly appreciated.