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 ba667d020d Game is mostly finished, added a ton of code for reading and applying peer position.
The most important addition is that the program now parses data in the
Serial_Data struct, and updates the positions accordingly. I also removed
the old implementation with strings, and fixed a bunch of bugs along the way.
1 year ago
includes 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. 1 year ago
.gitignore Updated .gitignore 1 year ago
Makefile Updated Makefile 1 year ago
ball.cpp Fixed misaligned bracket 1 year 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 1 year ago
connect_code.cpp Moved the private functions out of the anonymous namespace, because I need to use them in other places 1 year ago
easysock.cpp Added additional code to easysock library 1 year ago
main.cpp Game is mostly finished, added a ton of code for reading and applying peer position. 1 year ago
meson.build Added serialization C file as a dependency 1 year ago
numeric_base.cpp Renamed base-helpers to numeric_base, and separated numeric_base into header and implementation files 1 year ago
paddle.cpp Split 'paddle' class into header and implementation files 1 year ago
serialization.c Made the serialization code cleaner, and fixed a bug where data was overwritten by the null pointer 1 year 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. 1 year ago
sock.cpp Wrote code to null-terminate the string sent in sendAll, and the string received in recvAll 1 year ago
todo.txt Updated TODO; removed finished items 1 year ago