Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revisions of SnakevsBlock/SnakevsBlock.cpp

Revision Date Message Actions
49:441c32f6603e 2019-04-26 Fixed multiple issues with menu code, the show credits still needs some work File  Diff  Annotate
48:d774bb162c61 2019-04-26 Made minor changes to blocks class to alter the way block gap and random numbers were handled File  Diff  Annotate
47:b448ffd073e7 2019-04-26 the default game speed is now rabbit. File  Diff  Annotate
46:dc7dccae9f9e 2019-04-26 Levels were not getting saved because of a previous edit, fixed it! File  Diff  Annotate
44:cd10d07ea1e5 2019-04-25 I have created a class to display win/loose screen now. File  Diff  Annotate
43:233f93860d08 2019-04-25 fixed a problem relating to snake not detecting blocks when it has just increased in length. File  Diff  Annotate
42:973bb6036f81 2019-04-23 changed some function names and divided a functionality into 2 functions File  Diff  Annotate
41:4edac50f010d 2019-04-23 This version has a separate class to interface with length, and also changed a lot of the code to interface with it. File  Diff  Annotate
40:1debed7ec01c 2019-04-22 i had forgotten to init the device in the previous commit, also altered the code appearance a bit. File  Diff  Annotate
39:210ac915e0a0 2019-04-22 Removed some unnecessary get pos functions. File  Diff  Annotate
38:30e4e6191762 2019-04-22 This might be the biggest yet!!! THIS HAS MOTION CONTROL File  Diff  Annotate
37:ee47699915b8 2019-04-18 Added feature that sets the real length to max 10, the virtual length increases upto anything i want, currently 20, I may have second thoughts on this, so may revert commit. File  Diff  Annotate
36:dfdd619874ae 2019-04-18 Minor Bug fixes, and performance improvements. #UpdateVibes File  Diff  Annotate
33:249cf423fb18 2019-04-17 Added Stats Class and now i can store the highest level. File  Diff  Annotate
32:3a3bdeffdf62 2019-04-15 Some weird error of the joystick misbehaving occurs by fixing the program bouncing regularly File  Diff  Annotate
29:c6358c39a70e 2019-04-14 Minor performance improvements, Start screen class needs to be re organized File  Diff  Annotate
28:d2c621d67e3b 2019-04-12 Made the block detection more robust File  Diff  Annotate
27:3b4775a0d0bb 2019-04-11 If statements check if the snake sprite has collided with any of the blocks which are a maximum of 5, if so then the snake length reduces and the block number reduces the block has to move slower and come down. Also the block detection is now automat File  Diff  Annotate
26:3495f7b0ede7 2019-04-11 Made the Start Screen Class shorter File  Diff  Annotate
25:e827f1a8fadc 2019-04-10 Now if we press back during a game, we go to main menu, also reduced code size File  Diff  Annotate
24:1c118b071430 2019-04-10 Made snake side collision detector compact File  Diff  Annotate
23:592345a70329 2019-04-10 Reduced around 2000 lines File  Diff  Annotate
22:ee698f66146f 2019-04-10 Further reduced the code size File  Diff  Annotate
21:e41126528cc6 2019-04-10 Starting to divide my code File  Diff  Annotate
20:1e6338403427 2019-04-09 Made initial levels easier and made a fun transition between levels File  Diff  Annotate
19:05cc9f801468 2019-04-08 made progressive levels slightly more difficult, will test on people later, have to print levels on screen after each progressive level. File  Diff  Annotate
18:b391caa5754c 2019-04-08 Dont know if this is the best way? but this makes the game easier to operate near the edges but makes the snake look distorted File  Diff  Annotate
17:54e13faeaf64 2019-04-05 Added Levels Architecture File  Diff  Annotate
16:7b474f873683 2019-04-05 Added speed controls and end condition File  Diff  Annotate
15:f4d069da093d 2019-04-04 GLITCH SOLVED!!!!!!!!!!!!!!!!!!!!!!!!!! File  Diff  Annotate
14:0dfe67f9c97e 2019-04-04 Tried to change the glitch problem, some parts started to flow freely, others still stuck. File  Diff  Annotate
13:9785f2404045 2019-04-03 Tried to make the snake such that it does not go through the blocks once it is sideways, succeeded mostly but still has some minor glitches in doing so File  Diff  Annotate
12:1e601b176437 2019-04-02 Completed the snake and block collision function, the blocks decrease in number as the snake collides while the snake decreases in length File  Diff  Annotate
10:751bd953fa27 2019-03-30 Can now draw blocks and generate random numbers in them, they can be seen on screen, the next step is creating collision File  Diff  Annotate
9:d1d79d4ee673 2019-03-27 Food Created, now if the snake eats food, it's length will increase. File  Diff  Annotate
8:890b986b16a4 2019-03-26 Created the snake completely with animation, of different lengths up-to 15,; the next step would be adding food to increase the length from default value. File  Diff  Annotate
7:48ba87cd79b5 2019-03-26 Game screen created, snake class and snake vs block class also created. File  Diff  Annotate