python-game-snake is a Snake Game including three path-searching-algorithm demos and one version of AI to play Snake automatically.
The project is implemented in Python3.6.
If you like it, Please give it a star, Thanks!
You should have pygame
module installed.
Get the source code.
git clone https://github.com/manerfan/python-game-snake.git
cd python-game-snake/src
python3 dfs_demo.py
python3 bfs_demo.py
python3 a_star_demo.py
Play Snake Automatically with A* Algorithm.
python3 snake_ai.py