10 Commits (dda89963c8b0c98fef81fdc2b286136929668c4e)

Author SHA1 Message Date
Aadhavan Srinivasan 05cc70412c Added comments to better explain the code, and added code to catch more exceptions 8 months ago
Aadhavan Srinivasan 2ca17a6225 Moved server / client checking above window initialization 8 months ago
Aadhavan Srinivasan cb958d2749 Added 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 / key 9 months ago
Aadhavan Srinivasan c83b347620 Changed include paths, added a cmdline argument ('server') to indicate if the game is networkded or not 9 months ago
Aadhavan Srinivasan 7557ce7cf5 Updated header file includes; Changed base speed; Started working on networking code, to send a character when the paddle is moved or stopped 9 months ago
Aadhavan Srinivasan b5a8fd599d Added a randomly generated multiplier to the offset, when the ball collides with a paddle 9 months ago
Aadhavan Srinivasan 2940c61314 Added code to wait until user presses SPACE, before starting the game. Also added code to show points 9 months ago
Aadhavan Srinivasan 6e78329eb5 Updated 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 paddle 9 months ago
Aadhavan Srinivasan 6ddf6936bf Added more comments, and fixed bug where ball would sometimes get 'stuck' inside paddle 9 months ago
Aadhavan Srinivasan 9180e55c88 First commit 9 months ago