Skip to content

kumathy/snake-pyglet

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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! 🐍

About

A snake game created with Pyglet 🐍

Resources

Stars

Watchers

Forks

Languages

  • Python 100.0%