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
91bf5e2ce1
Fixed some commenting issues; Added code to detect if game was quit by peer and, if so, quit the game locally
|
10 months ago |
includes
|
Added a boolean field to the struct, to indicate whether the game should be quit or not
|
10 months ago |
.gitignore
|
Updated .gitignore
|
11 months ago |
ball.cpp
|
Fixed misaligned bracket
|
10 months ago |
client.cpp
|
Changed the recvAll return type from std::string to char pointer, and created a non-blocking version of the function
|
10 months ago |
connect_code.cpp
|
Added code to get a non-const char* from a std::string
|
10 months ago |
easysock.cpp
|
Changed 'char*' to 'const char*' because that's what the underlying functions use
|
10 months ago |
main.cpp
|
Fixed some commenting issues; Added code to detect if game was quit by peer and, if so, quit the game locally
|
10 months ago |
meson.build
|
Removed unnecessary variable, and added a (optional) dependency for the ws2_32 library, which is required on Windows
|
10 months ago |
numeric_base.cpp
|
Used unsigned int instead of int when converting to base-10
|
10 months ago |
paddle.cpp
|
Created method to set position of paddle
|
10 months ago |
serialization.c
|
Added a boolean field to the struct, to indicate whether the game should be quit or not
|
10 months ago |
server.cpp
|
Changed code to support Windows libraries and functions as well
|
10 months ago |
sock.cpp
|
Added a virtual destructor to the Sock class, which would allow Server and Client to override it
|
10 months ago |
todo.txt
|
Updated TODO; removed finished items
|
10 months ago |