ELEC2645 (2017/18) / Mbed 2 deprecated el15ww

Dependencies:   mbed

Changes

RevisionDateWhoCommit message
22:6dce4175795a 2018-05-08 weiway a default tip
21:7f7d09a27cc8 2018-05-08 weiway Adding audio feedback
20:980b37fde361 2018-05-08 weiway adding doxygen documentation , comments and references
19:dfa241957855 2018-05-08 weiway fruit reborn randomly within the screen
18:e58a1f8e72ad 2018-05-08 weiway snake wall coliision
17:7c8cf5f7878c 2018-05-08 weiway collision
16:a790f3f622f8 2018-05-08 weiway add collision
15:47ea86f1ed70 2018-05-07 weiway the game runs well but the fruit reborn outside of the screen. and the snake would not die even if hit the wall
14:9e2ce28b4e63 2018-05-06 weiway the fruit is not on the creen
13:4026781772cb 2018-05-06 weiway ...
12:d45bc5d878ad 2018-05-04 weiway add a boolean function. bool getfruit . This is for making the position of snake == fruit position so that snake achieve to eat fruit successfully. Also add a function to print the point of the snake ate at the top-left corner on LCD screen.
11:f026cd7d66ee 2018-05-03 weiway snakengine
10:946a3835a7c7 2018-05-03 weiway engine and the function of each direction
9:f82627d119f6 2018-05-03 weiway main
8:30ad5229cc0b 2018-05-03 weiway add the point function
7:bd4b84e2320e 2018-05-02 weiway direction of snake that is controlled by the joystick on Gamepad
6:53c1fda99a3a 2018-05-01 weiway direction of snake that is controlled by player on Gamepad
5:b3ad78d527c7 2018-04-30 weiway initial size of snake is 5 pixel so set to i = 0; i < _point ; i ++ _point = 6;the xold, yold , xnew and ynew are the positions of the snake pixel on x and y aixs respectively. The snake has initial pos as it has not started eating. Max array is 100.
4:5b1c3b7cd894 2018-04-30 weiway snake.cpp
3:60df0fd90787 2018-04-30 weiway snake.cpp
2:1e90f0ca344c 2018-04-30 weiway snake
1:6bcf09972c0d 2018-04-30 weiway snake file
0:d557f30e3a95 2018-04-30 weiway I deleted my previous program , and make a new program as a final submitted project