Skip to content

manerfan/python-game-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages