Skip to content

emrekocan/snakegame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Snake Game

This project is a simple implementation of the classic Snake game using the Python Turtle graphics library.

Gameplay Screenshot

Features

  • The game starts when the player presses arrow keys to control the snake's direction.
  • The player's goal is to eat the red food, which increases the score and the snake's length.
  • The game ends if the snake collides with the boundaries of the screen or itself.
  • The player can pause and resume the game by pressing the "Escape" key.

Installation

  1. Clone the project or download it as a ZIP file.

  2. Run the main.py file to start the game:

    python main.py

"

Use the arrow keys to control the snake's direction and the "Escape" key to pause and resume the game.

Controls

Use the "Up" arrow key to move the snake up. Use the "Down" arrow key to move the snake down. Use the "Right" arrow key to move the snake right. Use the "Left" arrow key to move the snake left. Press the "Escape" key to pause and resume the game. Screenshots

Game Over Screen Paused Screen

Contribution

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to create an issue or submit a pull request.

License

This project is licensed under the MIT License. For more information, refer to the LICENSE file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages