Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revisions of GameEngine/SnakevsBlock/SnakevsBlock.cpp

Revision Date Message Actions
98:3061aa318fa2 2019-05-09 Updated some part of the SnakevsBlocks documentation File  Diff  Annotate
95:b068b0735f45 2019-05-09 documented the blocks class File  Diff  Annotate
93:7f9c31ed5cab 2019-05-08 Documented WinLoose and LengthManager File  Diff  Annotate
92:693a6ae0ff8e 2019-05-08 Added documentation for snakevsblock class File  Diff  Annotate
87:871d9fecb593 2019-05-08 I have changed some variable names so that they have more meaning, and also added some more comments File  Diff  Annotate
85:d50ba0994676 2019-05-06 I Think the tutorial needs no more content work... But i know i cant help but improvise ;) File  Diff  Annotate
84:9950d561fdf8 2019-05-06 Added some more comments to describe what some of my functions and methods do. File  Diff  Annotate
83:329da564799a 2019-05-06 Now, I have put gamepad and lcd objects from the main() in a pointer, so that i can declare them in init() in every class i use them in and use them as global objects for each class, without having to send their addresses to all of the functions. File  Diff  Annotate
82:c51ae8a501d1 2019-05-06 Improved barrier collision File  Diff  Annotate
81:4c1641e10dcd 2019-05-06 Made Some Barriers, not sure about them tough File  Diff  Annotate
80:51ca38c5dcdf 2019-05-06 Implemented back functionality in tutorials. File  Diff  Annotate
79:35cb65c52d25 2019-05-05 Fixed a bug where the snake wouldn't move if its length is 1. Also sorted out Collision functions so that they perform tasks independently. File  Diff  Annotate
77:5c6bd659c32d 2019-05-05 now the default motion of the snake is called directly from update, and this doesn't make it dependent on other functions File  Diff  Annotate
76:7fa91122907f 2019-05-05 Fixed a problem i did not know i had about block sides collision, where i added the x axis coordinates of the block to the collision loop. File  Diff  Annotate
74:7b6568bc16d5 2019-05-05 edited the test file so that it tests more functionalities of the snake File  Diff  Annotate
71:4bd2b27693f3 2019-05-04 Further modulated the snake class, also need to fix a problem with the size of array. File  Diff  Annotate
70:7caab8069b9b 2019-05-04 Thanks to my newly created test files, I removed some of the most uselessly redundant functions in my snake class relating to get pos. The test classes helped me debug the problems with the bulky code by letting me know what coordinates were saved. File  Diff  Annotate
68:b9cfd27987ac 2019-05-04 Added test headers and functions that makes sure that my snake moves and updates as expected. File  Diff  Annotate
67:39b9ba6019b0 2019-05-04 Made the startscreen class much more organised File  Diff  Annotate
65:2872ca289b49 2019-05-03 Refactored some function into smaller ones File  Diff  Annotate
64:540aa1602372 2019-05-02 Made header file more readable File  Diff  Annotate
63:205f0ca48473 2019-05-01 Sorted out some functions, specifically related to their functionality File  Diff  Annotate
62:ebf6ecf8a6d5 2019-04-30 Cleaned the code style of the Block Side Collision File  Diff  Annotate
61:f3c402bc2ad0 2019-04-30 Fixed an issue with the gamepad library that made it remember the previous button pressed, also removed pad.init() because of this File  Diff  Annotate
60:d3a9e0e4a0de 2019-04-29 Created Tutorials class and added some sprites in it i will use later to implement File  Diff  Annotate
59:c65a2e933c47 2019-04-29 Changed Winning criteria and level progression in general, also fixed an error with motion control in menu and joystick misbehavior problem, next is tutorials. File  Diff  Annotate
58:affb42c56cf8 2019-04-28 added led feedback for motion control File  Diff  Annotate
56:142e9fdb77a8 2019-04-28 Removed some old feature that seems to never make a difference and also added some logos for joystick and motion control, along with changing some code style File  Diff  Annotate
55:df0825049171 2019-04-27 Converted menus from if implementation to case structures File  Diff  Annotate
54:20abd16c7d74 2019-04-26 There was a bug where the snake didnt detect the block on some occasions , i think it's fixed now. File  Diff  Annotate
53:527cf297b088 2019-04-26 Sub-Divided the Blocks::Draw Function to make it easier to debug the mistake in selecting a block number of a small size. File  Diff  Annotate
52:c2faa96cf293 2019-04-26 Solved the problem with show credits and control speed due to initialization File  Diff  Annotate
51:387249f9b333 2019-04-26 Sorted my game classes into folders to make it more organized File  Diff  Annotate | base