created typo in app title
parent
21696bf58a
commit
16eb0db3ee
|
@ -1,6 +1,6 @@
|
||||||
"""Snake!"""
|
"""Snake!"""
|
||||||
|
|
||||||
___title___ = "Snake"
|
___title___ = "Snork"
|
||||||
___license___ = "MIT"
|
___license___ = "MIT"
|
||||||
___categories___ = ["Games"]
|
___categories___ = ["Games"]
|
||||||
___dependencies___ = ["dialogs", "app", "ugfx_helper", "sleep", "buttons"]
|
___dependencies___ = ["dialogs", "app", "ugfx_helper", "sleep", "buttons"]
|
||||||
|
@ -12,10 +12,10 @@ ugfx_helper.init()
|
||||||
|
|
||||||
def one_round():
|
def one_round():
|
||||||
grid_size = 8;
|
grid_size = 8;
|
||||||
body_colour = ugfx.RED
|
body_colour = ugfx.BLUE
|
||||||
back_colour = 0;
|
back_colour = 0;
|
||||||
food_colour = ugfx.YELLOW
|
food_colour = ugfx.YELLOW
|
||||||
wall_colour = ugfx.BLUE
|
wall_colour = ugfx.RED
|
||||||
score = 0;
|
score = 0;
|
||||||
edge_x = math.floor(ugfx.width()/grid_size)-2;
|
edge_x = math.floor(ugfx.width()/grid_size)-2;
|
||||||
edge_y = math.floor(ugfx.height()/grid_size)-2;
|
edge_y = math.floor(ugfx.height()/grid_size)-2;
|
||||||
|
|
Loading…
Reference in New Issue