Ahmed Adamjee
/
SnakeVSBlock
Snake vs Block Game to be run upon K64F.
Diff: SnakevsBlock/SnakevsBlock.h
- Revision:
- 18:b391caa5754c
- Parent:
- 16:7b474f873683
- Child:
- 19:05cc9f801468
diff -r 54e13faeaf64 -r b391caa5754c SnakevsBlock/SnakevsBlock.h --- a/SnakevsBlock/SnakevsBlock.h Fri Apr 05 06:28:13 2019 +0000 +++ b/SnakevsBlock/SnakevsBlock.h Mon Apr 08 05:57:04 2019 +0000 @@ -54,8 +54,22 @@ int srn; int send; //makes sure that the block number is only updated when send is activated. int speed; //makes sure that snake only moves if not colliding to block walls - //int memory; //this remembers the previous y pos of the block. - //int blocknumt; // this is also a memeory number to make sure length doesnt't keep decreasing by itself + int b0; + int b1; + int b2; + int b3; + int b4; + int b5; + int b6; + int b7; + int b8; + int b9; + int b10; + int b11; + int b12; + int b13; + int b14; + int b0_to_b14[15]; private: