![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Game codes for Pokemon Academy Yiu Fai Kwok - 201198802 I have read the University Regulations on Plagiarism and state that the work covered by this declaration is my own and does not contain any unacknowledged work from other sources.
Dependencies: mbed FXOS8700CQ mbed-rtos
Diff: Game_two/Game_two.cpp
- Revision:
- 15:a65444eb1194
- Parent:
- 14:abe64fe0b6a5
- Child:
- 19:903d67bb0dea
diff -r abe64fe0b6a5 -r a65444eb1194 Game_two/Game_two.cpp --- a/Game_two/Game_two.cpp Thu Apr 18 04:53:04 2019 +0000 +++ b/Game_two/Game_two.cpp Sat Apr 20 11:53:09 2019 +0000 @@ -363,19 +363,6 @@ _type = rand() % 8; // randomise type } -} - -int Game_two::print_scores(N5110 &lcd) -{ - // get scores from paddles - int p1_score = _p1.get_score(); - int total = get_count(); - - // print to LCD i - char buffer1[14]; - sprintf(buffer1,"%2d / %2d",p1_score, total); - lcd.printString(buffer1,WIDTH/2 - 20,1); // font is 8 wide, so leave 4 pixel gape from middle assuming two digits - return p1_score; }*/ void Game_two::set_count(int count)