Logo
Explore Help
Sign In
Rockingcool/netpong
1
0
Fork 0
You've already forked netpong
Code Issues Pull Requests Packages Projects Releases 2 Wiki Activity
30 Commits 1 Branch 2 Tags
cb525c4097d663856ccaf5cbb9f0bed850f1ddfa
Commit Graph

8 Commits

Author SHA1 Message Date
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 2024-02-04 20:33:45 -05:00
Aadhavan Srinivasan
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
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 2024-01-29 22:48:58 -05:00
Aadhavan Srinivasan
b5a8fd599d Added a randomly generated multiplier to the offset, when the ball collides with a paddle 2024-01-24 12:19:57 -05:00
Aadhavan Srinivasan
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
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 2024-01-18 19:30:11 -05:00
Aadhavan Srinivasan
6ddf6936bf Added more comments, and fixed bug where ball would sometimes get 'stuck' inside paddle 2024-01-17 23:40:14 -05:00
Aadhavan Srinivasan
9180e55c88 First commit 2024-01-17 23:25:43 -05:00
Powered by Gitea Version: 1.24.3 Page: 174ms Template: 43ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API