Skip to content

Small snake game in python that i ll improve sporadically

Notifications You must be signed in to change notification settings

Matuiss2/Snake-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Snake-python

Small, snake game in python that i ll improve sporadically

Requirements:

-pygame library

-python 3.x

V 1.0 - functional game

V 1.06 - Improves the readability, improves slightly the performance

V 1.08 - Adds some sfx(eating and game over)

V 1.2 - Adds background music, removes the score on the top left(just showing it at the end)

V 1.23 - The music now loops

V 1.26 - Adds menu skeleton, changes the background color to light gray to avoid confusion with the taskbar

V 1.32 - Changed the variable name fps to speed to avoid confusion, few performance improvements(direction, sounds)

V 1.38 - Performance boost by changing most of the lists to deque, O(1) vs the previous O(n)

V 1.48 - BugFix, relative paths

V 1.59 - Adds pause/ unpausing (pressing p), code slightly more readable, Adds pause menu skeleton

V 1.62 - Most of flask8 recommended changes added

V 1.65 - Most of J_H (thanks for the code review) recommended changes added

todo - Complete menu skeleton, add difficult settings, add another music options, add buttons,

About

Small snake game in python that i ll improve sporadically

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages