Skip to content

psychopattt/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

A Snake game programmed in python. I made this to get used to pygame before the GMTK game jam 2021.

Features

  • Customizeable settings
    • Board width and height as well as tile size
    • Time between snake movements
    • Number of snacks (pieces of food)
    • Number of players
  • A few game modifiers
    • Spawn walls: each time a snake eats a piece of food, a wall is placed somewhere
    • Loop around: snakes can use the sides to wrap around the board
    • Increase speed: each time a snake eats a piece of food, the time between snake movements is reduced
    • Teleport head: each time a snake eats a piece of food, it's head is teleported somewhere on the board
  • Local multiplayer
    • Up to 64 players
    • Support for Xbox and Playstation controllers

Download

A Windows executable (exe) is available on Itch.io. You can also build Linux and MacOS executables using the source code and pyInstaller.

Project setup

To set up the project, you need Python 3 as well as pip.

  1. Download the project

  2. Install the required packages

pip install -r requirements.txt
  1. Run the project
py scripts/main.py