you'll need to install:
- pygame==2.0.1
- numpy
Used for educational purposes, show cases different path finding Ai and a genetic algorithm using neural networks.
These algorithms are evaluated under the same fruit seed spawn.
This project does not aim to create the perfect Ai snake, only vanilla path finding algorithms are used and a simple neural network.
preview
Main.py runs the program.
- train your own neural network by changing the given parameter values.
- save the trained model and load it.
Currently only 3 path finding algorithms are available You can preview the calculated path for the given algorithm.