Commit Graph

217 Commits

Author SHA1 Message Date
24fb96684c Deleted header files in source directory 2024-01-29 22:47:28 -05:00
c87c3ce3a2 Moved header files to source directory; converted easysock to CPP 2024-01-29 22:46:55 -05:00
1daf8f41ae Created 'client' and 'server' classes, using easysock 2024-01-28 23:36:14 -05:00
fca3d1defc Updated Makefile 2024-01-28 23:33:25 -05:00
8afb6f43ec Updated .gitignore 2024-01-28 23:33:17 -05:00
24cf8a9a78 Added easysock files 2024-01-28 23:32:59 -05:00
b5a8fd599d Added a randomly generated multiplier to the offset, when the ball collides with a paddle 2024-01-24 12:19:57 -05:00
2940c61314 Added code to wait until user presses SPACE, before starting the game. Also added code to show points 2024-01-24 12:02:45 -05:00
d6d6456289 Updated TODO 2024-01-24 12:02:00 -05:00
b38a065e77 Added debug flag to GCC 2024-01-24 12:01:41 -05:00
3db25f1caa Removed the call to updatePosition() from draw(), and added initial position and velocity vectros 2024-01-24 11:59:36 -05:00
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 2024-01-18 19:30:11 -05:00
82b1ae1681 Updated Makefile to include new file 2024-01-18 19:28:40 -05:00
66aa423f27 Added math helper function 2024-01-18 19:28:29 -05:00
c13753ef82 Added TODO file 2024-01-17 23:41:09 -05:00
6ddf6936bf Added more comments, and fixed bug where ball would sometimes get 'stuck' inside paddle 2024-01-17 23:40:14 -05:00
9180e55c88 First commit 2024-01-17 23:25:43 -05:00