Skip to content

GinukalaSrija/python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Snake Game using Python

This project is a simple Snake Game created using Python. The game uses the Turtle graphics module.

The player controls a snake that moves around the screen. The goal is to eat the food and increase the score. The game ends if the snake hits the wall or its own body.

Features

  • Snake moves in four directions
  • Food appears randomly on the screen
  • Score increases when food is eaten
  • Game restarts after collision

Technologies Used

  • Python programming language
  • Turtle graphics module

How to Run the Game

  1. Install Python on your system
  2. Download or clone this repository
  3. Open the folder
  4. Run the file named "Snake Game.py"

Controls

  • Up Arrow key: Move Up
  • Down Arrow key: Move Down
  • Left Arrow key: Move Left
  • Right Arrow key: Move Right

Learning Outcome

  • Learned basic Python programming
  • Learned game logic and event handling
  • Learned how to use Turtle module

Author

Srija Ginukala GitHub: https://github.com/GinukalaSrija

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages