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.
10 months 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.
10 months ago
.gitignore
Updated .gitignore
11 months ago
Makefile
Updated Makefile
11 months ago
ball.cpp
Fixed misaligned bracket
10 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
10 months ago
connect_code.cpp
Moved the private functions out of the anonymous namespace, because I need to use them in other places
10 months ago
easysock.cpp
Added additional code to easysock library
10 months ago
main.cpp
Game is mostly finished, added a ton of code for reading and applying peer position.
10 months ago
meson.build
Added serialization C file as a dependency
10 months ago
numeric_base.cpp
Renamed base-helpers to numeric_base, and separated numeric_base into header and implementation files
10 months ago
paddle.cpp
Split 'paddle' class into header and implementation files
10 months ago
serialization.c
Made the serialization code cleaner, and fixed a bug where data was overwritten by the null pointer
10 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.
10 months ago
sock.cpp
Wrote code to null-terminate the string sent in sendAll, and the string received in recvAll
10 months ago
todo.txt
Updated TODO; removed finished items
10 months ago