Pong game for ELEC1620 board.

Revision:
3:5746c6833d73
Parent:
2:482d74ef09c8
--- a/lib/PongEngine.h	Wed Mar 10 16:37:52 2021 +0000
+++ b/lib/PongEngine.h	Thu Mar 11 14:54:25 2021 +0000
@@ -11,13 +11,15 @@
     public:
         PongEngine();  // pass in the lcd object from the main file
         void init(int paddle_position,int paddle_height,int paddle_width,int ball_size,int speed);
-        void update(UserInput input);
+        int update(UserInput input);
         void draw(N5110 &lcd);
     private:
         void check_wall_collision();
         void check_paddle_collision();
+        void check_goal();
         Ball _ball;
         Paddle _paddle;
+        int _lives;
 };
 
 #endif
\ No newline at end of file