jajodiaraghav / Snake

A simple game built using Python Pygame Library
20 stars 26 forks source link

Fix derp #39

Closed GeoZac closed 6 years ago

GeoZac commented 6 years ago

If a player sets a new highscore, and loses the game,the variable mismatch raises a NameError,as exceptions are not yet implemented,this is a serious issue.

File "D:/Snake/main.py", line 149, in gameLoop if tot > highscore: NameError: name 'tot' is not defined

jajodiaraghav commented 6 years ago

Thanks for the fix @GeoZac