Skip to content

Hypercube2426/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game using Python and Turtle

Introduction

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

Requirements

  • Python 3.x
  • Turtle module

How to run the game

  1. Clone or download the repository.
  2. Open the terminal in the project directory.
  3. Run the command: python snake.py

How to play the game

  • Use the arrow keys to move the snake.
  • Eat the food to increase the length of the snake.
  • Don't hit the walls or the snake's own body.
  • The game ends when the snake crashes.

Customization (comming up)

You can change the game settings such as the screen size, snake speed, etc. by modifying the constants in the code.

Contributing

Feel free to contribute to this project by submitting a pull request or reporting a bug.

Enjoy the game!

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages