Skip to content

haroonhublikar12/Snake-game-in-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

Snake game in python

There are a number of ways to create this game, and one includes the use of Python’s PyGame library, which is a Python library used to create games.

The other way is through the use of the turtle library. This module comes pre-installed with Python, and it provides a virtual canvas for users to create shapes and pictures.

Therefore, this project uses the turtle library to implement a simple snake game, which is easier and faster to develop.

Libraries

  • Turtle
  • Time
  • random

Steps

  1. Import the modules.
  2. Create the game's screen display.
  3. Setup the direction keys for the snake.
  4. Implement gameplay rules and parameters.

Code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages