Skip to content

Latest commit

 

History

History
21 lines (21 loc) · 675 Bytes

README.md

File metadata and controls

21 lines (21 loc) · 675 Bytes

game

snake_game
this is a game that you can control the snake with keyboard fighting with AI
You should install tensorflow,pygame and opencv


For Windows
Python3.5 must be wanted
pip install tensorflow
pip install pygame
pip install opencv_python-3.2.0-cp35-none-win_amd64.whl


For Linux
Both python2.7 and python3.5 work well
pip install tensorflow
pip install pygame
apt-get install opencv

you can do as the follow
1.git clone https://github.com/makalo/game.git
2.cd snake_game
3.python snake.py