Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.47 KB

File metadata and controls

50 lines (38 loc) · 1.47 KB

Snake game 🐍

Python Pyglet

animated

A classic Snake game built with Python and Pyglet, featuring custom obstacles and tailored aesthetics.

Note

This project was created for CS2613 Exploration Activity #1 (Fall 2023 - UNB). Built following this tutorial series by Justin Robertson, with added features and personalized styling.

Getting Started

Prerequisites

Installation

  1. Clone the repository
   git clone https://github.com/kumathy/snake-pyglet.git
  1. Navigate to the project directory
   cd snake-pyglet
  1. Install Pyglet
   pip install pyglet
  1. Run the game
   python snake.py

How to Play

  1. Launch the game
  2. Press any arrow key to start moving
  3. Objective: Eat as many 🍎 apples as possible
  4. Avoid: Colliding with obstacles and screen edges
  5. Good luck! 🐍