A network-based Pong game, written in C++.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Aadhavan Srinivasan a37ec79f09 Changed 'recvAll' return type from std::string to char pointer, and created a non-blocking version of the function 8 months ago
includes Changed 'recvAll' return type from std::string to char pointer, and created a non-blocking version of the function 8 months ago
.gitignore Updated .gitignore 9 months ago
Makefile Updated Makefile 9 months ago
ball.cpp Fixed misaligned bracket 8 months ago
client.cpp Made the sendAll and recvAll functions in sock.cpp use variables set by the children, rather than having the functions pass parameters 8 months ago
connect_code.cpp Moved the private functions out of the anonymous namespace, because I need to use them in other places 8 months ago
easysock.cpp Added additional code to easysock library 8 months ago
main.cpp Game is mostly finished, added a ton of code for reading and applying peer position. 8 months ago
meson.build Added serialization C file as a dependency 8 months ago
numeric_base.cpp Renamed base-helpers to numeric_base, and separated numeric_base into header and implementation files 8 months ago
paddle.cpp Split 'paddle' class into header and implementation files 8 months ago
serialization.c Made the serialization code cleaner, and fixed a bug where data was overwritten by the null pointer 8 months ago
server.cpp Made the 'recvAll' function return a char pointer instead of a std::string, this is better for portability. Also created a non-blocking version of the function. 8 months ago
sock.cpp Changed 'recvAll' return type from std::string to char pointer, and created a non-blocking version of the function 8 months ago
todo.txt Updated TODO; removed finished items 8 months ago