Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 2.1 KB

README.md

File metadata and controls

40 lines (33 loc) · 2.1 KB

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