Skip to content

Marielaquintanar/snake_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Snake Game

Project Description

The Snake Game is a classic and addictive video game where the player controls a snake that moves around the screen, eating food to grow in length. The objective is to avoid running into walls or colliding with the snake's own tail while trying to achieve the highest score possible. As the snake consumes more food, it becomes longer, making the game progressively challenging. This project has been implemented using Python and the Pygame library, which provides the necessary tools to create a visually appealing and interactive Snake Game.

Key Features

  • Control the snake's movement using arrow keys.
  • Random placement of food items on the screen.
  • Score tracking to monitor the player's progress.
  • Game over when the snake collides with a wall or itself.
  • Increasing difficulty as the snake grows longer.

Author

  • Mariela Quintanar De la Mora

Technologies Used

  • Python
  • Pygame

How to Play

  1. Clone the repository to your local machine.
  2. Make sure you have Python and Pygame installed on your system.
  3. Run the game using the command python snake_game.py.
  4. Use the arrow keys to control the snake's direction.
  5. Collect the food items to grow the snake and earn points.
  6. Avoid running into walls or the snake's tail.
  7. Try to achieve the highest score before the game ends.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages