Python Game Snake Save

A Game-Snake version of AI to play Snake automatically.

Project README

python-game-snake

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!

Require

You should have pygame module installed.

Usage

Get the source code.

git clone https://github.com/manerfan/python-game-snake.git
cd python-game-snake/src

Path Searching Algorithm Demos

DFS

python3 dfs_demo.py

DFS

BFS

python3 bfs_demo.py

BFS

A*

python3 a_star_demo.py

A*

Play Snake Automatically

Play Snake Automatically with A* Algorithm.

python3 snake_ai.py

snake

Open Source Agenda is not affiliated with "Python Game Snake" Project. README Source: manerfan/python-game-snake
Stars
30
Open Issues
0
Last Commit
7 years ago
License
Tags

Open Source Agenda Badge

Open Source Agenda Rating