cb958d2749Added code to parse command-line flags, to determine whether the game was started in client or server mode, and call relevant functions to encode or decode address / keyAadhavan Srinivasan2024-02-04 20:33:45 -0500
c83b347620Changed include paths, added a cmdline argument ('server') to indicate if the game is networkded or notAadhavan Srinivasan2024-01-31 21:01:11 -0500
95dea026d9Added default constructors; [for client] added code to throw an exception if socket creation was unsuccessfulAadhavan Srinivasan2024-01-31 21:00:40 -0500
7557ce7cf5Updated header file includes; Changed base speed; Started working on networking code, to send a character when the paddle is moved or stoppedAadhavan Srinivasan2024-01-29 22:48:58 -0500
b5a8fd599dAdded a randomly generated multiplier to the offset, when the ball collides with a paddleAadhavan Srinivasan2024-01-24 12:19:57 -0500
2940c61314Added code to wait until user presses SPACE, before starting the game. Also added code to show pointsAadhavan Srinivasan2024-01-24 12:02:45 -0500
3db25f1caaRemoved the call to updatePosition() from draw(), and added initial position and velocity vectrosAadhavan Srinivasan2024-01-24 11:59:36 -0500
6e78329eb5Updated code to use variable paddle speed and keep a constant speed (magnitude of velocity); added function to determine the x and y components of ball velocity after collision with paddleAadhavan Srinivasan2024-01-18 19:30:11 -0500