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
89e1e8d45e
Worked on further implementation of the network side of things.
...
Specifically, I added code to send a message from the client, after the client is launched. This message is used to try to connect to the server. Once the server receives this message, it responds back. After the client receives this response, the connection has been established, and the game can begin.
I also added code to wait (on the client side) for the server to press the spacebar.
1 year ago
includes
Added new exception constants
1 year ago
.gitignore
Updated .gitignore
1 year ago
Makefile
Updated Makefile
1 year ago
ball.cpp
Split 'Ball' class into header and implementation files
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
Worked on further implementation of the network side of things.
1 year ago
meson.build
Added additional dependencies
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
server.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
sock.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
todo.txt
Updated TODO
1 year ago