change initial apple position
This commit is contained in:
@@ -8,8 +8,8 @@ byte frame[8][12] = {
|
|||||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||||
{ 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0 },
|
{ 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 },
|
||||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 },
|
||||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||||
@@ -32,7 +32,7 @@ int points= 0;
|
|||||||
|
|
||||||
// apple initial position
|
// apple initial position
|
||||||
int apple_x= 9;
|
int apple_x= 9;
|
||||||
int apple_y= 3;
|
int apple_y= 4;
|
||||||
|
|
||||||
int loop_delay= 300;
|
int loop_delay= 300;
|
||||||
long exec_t2= millis();
|
long exec_t2= millis();
|
||||||
|
|||||||
Reference in New Issue
Block a user