|  | 912435bfa3 | Added new exception for invalid IP, used it if IP address is neither v4 nor v6 | 2024-02-07 21:55:05 -05:00 |  | 
			
				
					|  | 48739f6026 | Created enum to denote if game is in client or server mode, and added error checking, to check if IP address is valid | 2024-02-07 21:48:43 -05:00 |  | 
			
				
					|  | fd1eaac5e2 | Added build flag for debugging | 2024-02-07 21:48:02 -05:00 |  | 
			
				
					|  | dda89963c8 | Added better error checking for IP version | 2024-02-07 21:47:50 -05:00 |  | 
			
				
					|  | 05cc70412c | Added comments to better explain the code, and added code to catch more exceptions | 2024-02-06 09:44:54 -05:00 |  | 
			
				
					|  | 6ba3452087 | Added new exception constant | 2024-02-06 09:44:08 -05:00 |  | 
			
				
					|  | 9a2257780f | Fixed errors in call to 'check_ip_ver' | 2024-02-06 09:43:53 -05:00 |  | 
			
				
					|  | 735599aebf | Fixed errors in call to 'check_ip_ver', and modified error handling | 2024-02-06 09:43:42 -05:00 |  | 
			
				
					|  | ca952e8814 | Modified header file to match change in CPP file | 2024-02-06 09:43:08 -05:00 |  | 
			
				
					|  | eeb1bd89b8 | Modified 'check_ip_ver' function to use const char pointer | 2024-02-06 09:42:51 -05:00 |  | 
			
				
					|  | 1359f22f71 | Added address parameter to constructor, and added additional error handling | 2024-02-06 07:50:18 -05:00 |  | 
			
				
					|  | 7c741de587 | Added code to throw additional exceptions | 2024-02-06 07:49:54 -05:00 |  | 
			
				
					|  | 2ca17a6225 | Moved server / client checking above window initialization | 2024-02-06 07:26:16 -05:00 |  | 
			
				
					|  | fbea42df25 | Change encoded base from hexadecimal to base 32 | 2024-02-06 07:25:52 -05:00 |  | 
			
				
					|  | 74b9ae5fe8 | No real change | 2024-02-06 07:25:33 -05:00 |  | 
			
				
					|  | 6cfdddc204 | Added new exception const | 2024-02-06 07:24:57 -05:00 |  | 
			
				
					|  | cb525c4097 | Added code to help convert between number bases | 2024-02-06 07:24:35 -05:00 |  | 
			
				
					|  | 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 | 2024-02-04 20:33:45 -05:00 |  | 
			
				
					|  | 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 |  |