The classic dueling tanks game for mbed.
Dependencies: 4DGL-uLCD-SE DRV2605 EthernetInterface Game_Synchronizer MMA8452 SDFileSystem SparkfunAnalogJoystick mbed-rtos mbed wave_player
Fork of 2035_Tanks_Shell by
Diff: main.cpp
- Revision:
- 16:b73f0842d3cd
- Parent:
- 15:4b27a3a95772
- Child:
- 17:7bc7127782e4
--- a/main.cpp Mon Oct 26 04:12:35 2015 +0000
+++ b/main.cpp Tue Oct 27 18:10:03 2015 +0000
@@ -57,7 +57,7 @@
sync.filled_rectangle(59, 20, 69, 60, BLACK);
sync.locate(0,0);
sync.textbackground_color(SKY_COLOR);
- sync.puts("Pocket Tanks 2035", sizeof("Pocket Tanks 2035"));
+ sync.puts("Pocket Tanks 2035");
sync.update();
}
@@ -139,7 +139,7 @@
while(1) {
sync.cls();
sync.locate(i, 6);
- sync.puts("GAME OVER!\n", sizeof("GAME OVER!\n"));
+ sync.puts("GAME OVER!\n");
sync.update();
(++i) %= 10;
wait(0.1);
