Skip to content

SnakeGamePython is a classic Snake game implemented in Python using Object-Oriented Programming (OOP) principles and the Turtle graphics library. Enjoy the nostalgic gameplay, navigate the snake, collect food, and aim for the highest score. The project includes modular classes for the snake, food, and a scoreboard for tracking your progress.

Notifications You must be signed in to change notification settings

AbdelmalekIla/PythonTurtleSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game in Python

Welcome to Snake Game in Python! This classic Snake game is implemented using Object-Oriented Programming (OOP) principles and the Turtle graphics library.

Features

  • Navigate the snake using arrow keys.
  • Collect food to increase the snake's length.
  • Avoid collisions with the walls and the snake's own tail.
  • Track your score with the integrated scoreboard.
  • Best score persistence across game sessions.

Requirements

  • Python 3.x
  • Turtle graphics library (usually included in Python standard library)

How to Play

  1. Clone the repository:

    git clone https://github.com/AbdelmalekIla/SnakeGamePython.git
  2. Navigate to the project directory:

    cd SnakeGamePython
  3. Run the game:

    python main.py
  4. Use arrow keys (Up, Down, Left, Right) to control the snake.

  5. Have fun playing!

About

SnakeGamePython is a classic Snake game implemented in Python using Object-Oriented Programming (OOP) principles and the Turtle graphics library. Enjoy the nostalgic gameplay, navigate the snake, collect food, and aim for the highest score. The project includes modular classes for the snake, food, and a scoreboard for tracking your progress.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages