Skip to content

codebytaaron/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Snake Game 🐍

A lightweight Snake game built with Python and pygame.
Simple rules, clean code, zero extra fluff.


What This Is

  • A classic Snake game
  • Written in Python
  • Uses pygame for graphics and input
  • Designed to be easy to read, run, and modify

Gameplay

  • Control the snake using the arrow keys
  • Eat food to grow longer
  • 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