diff --git a/Game_Development/Snake_Game/README.md b/Game_Development/Snake_Game/README.md new file mode 100644 index 0000000000..6d1696c662 --- /dev/null +++ b/Game_Development/Snake_Game/README.md @@ -0,0 +1,42 @@ + +# Snake Game ๐ŸŽฎ + +## ๐ŸŽฏ Objective + +Hereโ€™s a more elaborate game called "Snake Game" using Python's `pygame` library. In this game, you control a snake that grows longer every time it eats food, and you have to avoid crashing into the walls or the snake's own body. + +--- + +**Prerequisite**:Install `pygame` + +Before running the code, you need to install the `pygame` library by running the following command: + +```bash +pip install pygame +``` +--- + +## ๐Ÿš€ How to Play: + +- Use arrow keys to move the snake (Up, Down, Left, Right). +- Eat the red food blocks to grow the snake. +- Avoid hitting the walls or running into the snake's body, or the game will be over. + +--- + +## ๐Ÿ”ง How to Run + +1. Clone the repository and navigate to the project folder: + ```bash + git clone + cd + ``` + +2. Install dependencies (if any) and then run the program: + ```bash + python3 Snake.py + ``` + +3. Enjoy playing the Snake game! + +---