Skip to content

JimmyCodeur/snake_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ Snake Game

Description

Welcome to this version of the classic Snake game, implemented in Python. Control a snake that moves around the screen, eating food to grow larger. The game ends when the snake collides with itself or with the edges of the screen.

User Interface Screenshot

Screenshot of the user interface

Features

-Control the snake using the arrow keys โฌ†๏ธโฌ‡๏ธโฌ…๏ธโžก๏ธ -Random generation of food on the screen ๐ŸŽ -Collision detection to handle snake-food and snake-snake interactions ๐Ÿšซ -Score tracking ๐Ÿ“ˆ -End game message and option to restart the game ๐ŸŽฎ

Usage

  1. Clone the repository.
  2. Navigate to the directory containing snake.py.
  3. Run the script:
        snake.py
    

Enjoy the game!

About

๐Ÿ Snake in python game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages