Skip to content

codebytaaron/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Snake Game

snake animation

Snake Game 🐍

A lightweight Snake game built with Python and pygame.
Simple rules, clean code, and easy to modify.

What this is

  • Classic Snake gameplay
  • Written in Python
  • Uses pygame for graphics and input
  • Designed to be readable and straightforward

Gameplay

  • Control the snake using the arrow keys
  • Eat food to grow longer
  • The game ends if you hit a wall or yourself

Controls

Key Action
↑ Move up
↓ Move down
← Move left
β†’ Move right

Requirements

  • Python 3.x
  • pygame

Install pygame:

pip install pygame

About

Snake Game, to use pip install pygame, python snake.py (arrow keys)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages