Reviving Nokia 6110 Snake Game with Python
Installations
- Install pip
- Download
get-pip.py
file from https://bootstrap.pypa.io/get-pip.py (or)
usecurl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
- Install Numpy and OpenCV
pip install opencv-python
Optionalpip install networkx
Usage
Run using python3 or python
python __main__.py
Play with keys
- A or J for left
- S or K for doown
- D or L for right
- W or I for up
Cheat Code for Snake Game
- Set AI_MODE = 1 in
init.py
and play Snake Game in Auto Mode
Play Snake Game with AI with A* and Grassfire Algorithms