Commit Graph

128 Commits

Author SHA1 Message Date
bad8d4a7cc Added new exception const 2024-02-04 20:32:24 -05:00
5c09b782b9 Added helper file for connect code 2024-02-04 20:32:10 -05:00
6945ebb2c1 Added exception_consts file 2024-01-31 21:02:40 -05:00
e6f328ea1d Added raylib-cpp header files to my project 2024-01-31 21:01:35 -05:00
c83b347620 Changed include paths, added a cmdline argument ('server') to indicate if the game is networkded or not 2024-01-31 21:01:11 -05:00
95dea026d9 Added default constructors; [for client] added code to throw an exception if socket creation was unsuccessful 2024-01-31 21:00:40 -05:00
2b1c217dbb Changed include path 2024-01-31 20:58:47 -05:00
8a57f80b8c Switched over to using Meson as build system, instead of Make 2024-01-29 22:49:59 -05:00
c161d80445 Converted easysock to CPP 2024-01-29 22:49:17 -05:00
7557ce7cf5 Updated header file includes; Changed base speed; Started working on networking code, to send a character when the paddle is moved or stopped 2024-01-29 22:48:58 -05:00
8ea9764165 Deleted header file in source directory 2024-01-29 22:47:53 -05:00
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