Skip to content

A simple Snake game made with Python and Pygame

Notifications You must be signed in to change notification settings

s0wjanyaa/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game 🐍

A classic Snake game implemented in Python using the Pygame library. Control the snake with the arrow keys, eat apples to grow longer, and try to avoid crashing into the walls or your own tail!

Table of Contents

Introduction

This Snake game is a simple and fun project built with Python and Pygame. It's a great way to learn about game development with Pygame and practice basic Python concepts.

How to Play

  1. Clone this repository: git clone https://github.com/s0wjanyaa/SnakeGame.git
  2. Navigate to the project directory: cd SnakeGame
  3. Run the game: python snake.py

Controls

  • Up: Up arrow key
  • Down: Down arrow key
  • Left: Left arrow key
  • Right: Right arrow key

Installation

  1. Make sure you have Python installed. You can download it from python.org.
  2. Install Pygame: pip install pygame

Dependencies

  • Python 3.x
  • Pygame

About

A simple Snake game made with Python and Pygame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages