Compare commits

..

No commits in common. "master" and "21696bf58a02b1b1cc166868b04f70a235ee96ec" have entirely different histories.

1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
"""Snake!"""
___title___ = "Snork"
___title___ = "Snake"
___license___ = "MIT"
___categories___ = ["Games"]
___dependencies___ = ["dialogs", "app", "ugfx_helper", "sleep", "buttons"]
@ -12,10 +12,10 @@ ugfx_helper.init()
def one_round():
grid_size = 8;
body_colour = ugfx.BLUE
body_colour = ugfx.RED
back_colour = 0;
food_colour = ugfx.YELLOW
wall_colour = ugfx.RED
wall_colour = ugfx.BLUE
score = 0;
edge_x = math.floor(ugfx.width()/grid_size)-2;
edge_y = math.floor(ugfx.height()/grid_size)-2;