Skip to content

Mausham07/Snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

Overview

Project Title: Snake Game

Project Description:
This project is a recreation of the classic Snake Game using Python's turtle module. The game involves controlling a snake to collect food items while avoiding collisions with walls and the snake's own tail. The game keeps track of the player's current score and high score, which is stored and retrieved from a file.

Project Goals:

  • Create an interactive and visually appealing Snake Game.
  • Track and display the player's current score and high score.
  • Implement smooth gameplay with responsive controls.
  • Provide a reset mechanism for collisions with walls or the snake's tail.

Instructions for Build and Use

Steps to Build and Run the Software

  1. Ensure you have Python 3.x installed on your system.
  2. Clone or download the project files into a directory.
  3. Run the main.py file to start the game.

Instructions for Using the Software

  1. Use the arrow keys (Up, Down, Left, Right) to control the snake's movement.
  2. Collect the blue food items to increase your score.
  3. Avoid collisions with walls or the snake's tail to keep the game running.
  4. Exit the game by clicking on the game window.

Development Environment

To recreate the development environment, you need the following software and/or libraries with the specified versions:

  • Python 3.x
  • turtle module (pre-installed with Python)

Useful Websites to Learn More

I found these websites useful in developing this software:


Future Work

The following items I plan to fix, improve, and/or add to this project in the future:

  • Add additional levels with increasing difficulty.
  • Introduce different types of food with varying score values.
  • Enhance graphics and animations for a more engaging experience.
  • Implement a multiplayer mode.
  • Create a mobile-friendly version of the game.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages