Declaration: I have read the University Regulations on Plagiarism [1] and state that the work covered by this declaration is my own and does not contain any unacknowledged work from other sources. I understand that my code will be run through a source code plagiarism detection engine and will be compared to all code submitted in this module (both in Leeds and at the Joint School in China). I confirm my consent to the University copying and distributing any or all of my work in any form and using third parties (who may be based outside the EU/EEA) to monitor breaches of regulations, to verify whether my work contains plagiarised material, and for quality assurance purposes. I confirm that details of any mitigating circumstances or other matters which might have affected my performance and which I wish to bring to the attention of the examiners, have been submitted to the Student Support Office. [1] Available on the School Student Intranet

Dependencies:   mbed Gamepad N5110 Joystick

Committer:
el16dlc
Date:
Thu May 09 13:52:41 2019 +0000
Revision:
10:aedca0082855
Parent:
9:a7ea33e6bd82
Final

Who changed what in which revision?

UserRevisionLine numberNew contents of line
el16dlc 1:b9f3b7d869d8 1 #ifndef MAIN_H
el16dlc 1:b9f3b7d869d8 2 #define MAIN_H
el16dlc 1:b9f3b7d869d8 3
el16dlc 1:b9f3b7d869d8 4 // LIBRARIES
el16dlc 1:b9f3b7d869d8 5 #include "mbed.h"
el16dlc 1:b9f3b7d869d8 6 #include "N5110.h"
el16dlc 1:b9f3b7d869d8 7 #include "Gamepad.h"
el16dlc 1:b9f3b7d869d8 8 #include "Snake.h"
el16dlc 1:b9f3b7d869d8 9 #include "Game_engine.h"
el16dlc 1:b9f3b7d869d8 10
el16dlc 1:b9f3b7d869d8 11 // INSTANCES
el16dlc 1:b9f3b7d869d8 12 extern N5110 lcd;
el16dlc 1:b9f3b7d869d8 13 extern Gamepad gamepad;
el16dlc 1:b9f3b7d869d8 14
el16dlc 1:b9f3b7d869d8 15 // FUNCTION PROTOTYPES
el16dlc 1:b9f3b7d869d8 16 void Init();
el16dlc 1:b9f3b7d869d8 17 void Welcome();
el16dlc 8:264398d3c610 18 void Menu();
el16dlc 1:b9f3b7d869d8 19 void render();
el16dlc 4:0fc3441556e1 20 void update();
el16dlc 9:a7ea33e6bd82 21 void game_over();
el16dlc 1:b9f3b7d869d8 22
el16dlc 1:b9f3b7d869d8 23 #endif