The objective of this activity is to create a simple snake game with the help of machine learing by importing the curses library.
For running this program you will need to install curses library. It can be installed as follow:-
pip install windows-curses
To run this program, open command prompt by searching "cmd" in windows search option. Then write the following command:-
python Snake_Game.py
and hit enter. Your game will start immediately if there no error occured. Once the game is finished, your final score will be displayed along with the message of "Thank You For Playing".