Skip to content

A PyGame Snake game created in 2017 and reworked in 2020

Notifications You must be signed in to change notification settings

MarcinKozak005/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

A simple snake game created using PyGame library. Basic concept was taken from sentdex YouTube tutorial

Rework

The game was created between December and January 2017

In March 2020 it underwent a rework. Redundant code was put into functions, unnecessary commends were deleted and one big file was split into several smaller ones.

Unfortunately some parts are too tightly coupled to be easily separated so the rework is not perfect 😕

Game menu structure

  • Play (pol. Graj) - select game mode and skins

    • Classic (pol. Klasyczny)
      • one fruit fruitfruitfruitfruit
      • one snake snake
      • Don't hit yourself or the edge!
    • Extended (pol. Rozszerzony)
      • three fruit fruitfruitfruitfruit
      • one snake snake
      • one obstacle obstacle
      • three power-ups powerUppowerUppowerUp
      • Don't hit yourself or the edge!
    • Global
      • As in the Extended game mode, but edge is no longer game over condition 😄
    • Multiplayer (pol. Dla dwóch graczy)
      • three fruit fruitfruitfruitfruit
      • two local players snake snake
      • Don't hit yourself or the edge or the other player
      • Get more points than your opponent
    • Select the skin (pol. Wybór skina)
    • Back (pol. Powrót)
  • Rules and Controls (pol. Zasady i sterowanie)

    • Player1: WSAD
    • Player2: ⬆️⬇️⬅️➡️
  • Exit (pol. Wyjście)

After game over You can play again (pol. Jeszcze raz!)

About

A PyGame Snake game created in 2017 and reworked in 2020

Resources

Stars

Watchers

Forks

Languages