Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (16 loc) · 573 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 573 Bytes

Control

The control is described in the key_game_control dictionary.

Key Description
Left Arrow Turns the snake left
Right Arrow Turns the snake right
Up Arrow Turns the snake up
Down Arrow Turns the snake down
Escape End and close game
--- ---
F1 Print debug message to console
F2 Print all player attribute
F3 Add 1 point (square) to snake
F4 Respawn food

Start

For startup, you will need pygame==2.0.2^: python runner.py