Skip to content

ImanGholamii/Snake_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Snake Game

Welcome to the Snake Game! This project is a classic implementation of the Snake game using Python and the Turtle graphics library. Enjoy navigating the snake to collect food and grow in length, while avoiding the walls and its own tail.

🌟 Features

  • Classic Gameplay: Enjoy the nostalgic experience of the classic Snake game.
  • Responsive Controls: Control the snake using the arrow keys for smooth gameplay.
  • Dynamic Difficulty: The snake grows longer and the game becomes more challenging as you progress.
  • Score Tracking: Keep track of your score as you collect food and grow the snake.

🚀 Getting Started

Prerequisites

  • Python 3.x
  • Turtle module (usually included with standard Python installations)

Installation

  1. Clone the repository:
    git clone https://github.com/ImanGholamii/Snake_Game.git
    cd Snake_Game
  2. Run the application:
python main.py

📚 Usage

Start the game:

Run the main.py file. The game window will open, displaying the Snake game.

Control the snake:

Use the arrow keys to move the snake up, down, left, or right.

Gameplay:

Navigate the snake to eat the food. Avoid colliding with the walls or the snake's own body. The game ends if the snake collides with the wall or itself.

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙌 Acknowledgements

Special thanks to the developers of the Python programming language and the Turtle graphics library.

⭐️ Support

If you like this project, please give it a ⭐️ on GitHub!