Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 922 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 922 Bytes

Snake-Game

A classic Snake game implemented in Python using the Turtle graphics library.

Description

This project is a simple implementation of the classic Snake game. It showcases the use of Python programming language, particularly focusing on object-oriented programming and the Turtle graphics library for creating a graphical user interface.

Features

  • Responsive Snake movement with user input (Up, Down, Left, Right keys).
  • Collision detection with food and game boundaries.
  • Score tracking and display.
  • Game over condition with relevant messaging.

Technologies Used

  • Python
  • Turtle Graphics Library

How to Play

  1. Clone the repository to your local machine.
  2. Run the main.py file using a Python interpreter.
  3. Use the arrow keys to control the snake and eat the food.
  4. Avoid collisions with the walls and the snake's own body.
  5. Have fun and try to achieve the highest score!