multiplayer pong game for LPC 1768

Dependencies:   mbed MbedJSONValue mbed-rtos Adafruit_ST7735 Adafruit_GFX EthernetInterface DebouncedInterrupt

Revision:
29:4708bfb863cb
Parent:
27:fcc5fee18a24
Child:
30:59e9a5409e65
--- a/gamestate.h	Mon Nov 23 01:26:24 2020 +0000
+++ b/gamestate.h	Sat Nov 28 01:05:42 2020 +0000
@@ -23,6 +23,7 @@
         Coord ball_loc; 
         char is_done; 
         char has_started; 
+        char countdown; 
         char localPlayerNum; 
         char lobbyHash[21]; 
         int score[2]; 
@@ -34,6 +35,8 @@
         Coord getBallLocation();
         char *getLobbyHash();
         char getLocalPlayerNum(); 
+        char getCountdown(); 
+        void setCountdown(int val); 
         int getPlayerOneScore();
         int getPlayerTwoScore();
         void updateAndRender(MbedJSONValue *serverResponse, Graphics *gfx);