Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.06 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.06 KB

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