45 Commits (48739f6026aaf1fcbba4f16a6d06792e8f872c8c)
 

Author SHA1 Message Date
Aadhavan Srinivasan 48739f6026 Created enum to denote if game is in client or server mode, and added error checking, to check if IP address is valid 8 months ago
Aadhavan Srinivasan fd1eaac5e2 Added build flag for debugging 8 months ago
Aadhavan Srinivasan dda89963c8 Added better error checking for IP version 8 months ago
Aadhavan Srinivasan 05cc70412c Added comments to better explain the code, and added code to catch more exceptions 8 months ago
Aadhavan Srinivasan 6ba3452087 Added new exception constant 8 months ago
Aadhavan Srinivasan 9a2257780f Fixed errors in call to 'check_ip_ver' 8 months ago
Aadhavan Srinivasan 735599aebf Fixed errors in call to 'check_ip_ver', and modified error handling 8 months ago
Aadhavan Srinivasan ca952e8814 Modified header file to match change in CPP file 8 months ago
Aadhavan Srinivasan eeb1bd89b8 Modified 'check_ip_ver' function to use const char pointer 8 months ago
Aadhavan Srinivasan 1359f22f71 Added address parameter to constructor, and added additional error handling 8 months ago
Aadhavan Srinivasan 7c741de587 Added code to throw additional exceptions 8 months ago
Aadhavan Srinivasan 2ca17a6225 Moved server / client checking above window initialization 8 months ago
Aadhavan Srinivasan fbea42df25 Change encoded base from hexadecimal to base 32 8 months ago
Aadhavan Srinivasan 74b9ae5fe8 No real change 8 months ago
Aadhavan Srinivasan 6cfdddc204 Added new exception const 8 months ago
Aadhavan Srinivasan cb525c4097 Added code to help convert between number bases 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 bad8d4a7cc Added new exception const 9 months ago
Aadhavan Srinivasan 5c09b782b9 Added helper file for connect code 9 months ago
Aadhavan Srinivasan 6945ebb2c1 Added exception_consts file 9 months ago
Aadhavan Srinivasan e6f328ea1d Added raylib-cpp header files to my project 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 95dea026d9 Added default constructors; [for client] added code to throw an exception if socket creation was unsuccessful 9 months ago
Aadhavan Srinivasan 2b1c217dbb Changed include path 9 months ago
Aadhavan Srinivasan 8a57f80b8c Switched over to using Meson as build system, instead of Make 9 months ago
Aadhavan Srinivasan c161d80445 Converted easysock to CPP 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 8ea9764165 Deleted header file in source directory 9 months ago
Aadhavan Srinivasan 24fb96684c Deleted header files in source directory 9 months ago
Aadhavan Srinivasan c87c3ce3a2 Moved header files to source directory; converted easysock to CPP 9 months ago
Aadhavan Srinivasan 1daf8f41ae Created 'client' and 'server' classes, using easysock 9 months ago
Aadhavan Srinivasan fca3d1defc Updated Makefile 9 months ago
Aadhavan Srinivasan 8afb6f43ec Updated .gitignore 9 months ago
Aadhavan Srinivasan 24cf8a9a78 Added easysock files 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 d6d6456289 Updated TODO 9 months ago
Aadhavan Srinivasan b38a065e77 Added debug flag to GCC 9 months ago
Aadhavan Srinivasan 3db25f1caa Removed the call to updatePosition() from draw(), and added initial position and velocity vectros 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 82b1ae1681 Updated Makefile to include new file 9 months ago
Aadhavan Srinivasan 66aa423f27 Added math helper function 9 months ago
Aadhavan Srinivasan c13753ef82 Added TODO file 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