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
1b1dc4a3a2
The agnostic struct consists of a 'Mode' enum, and a 'Sock' type. The 'Sock' can be either a Server or Client, depending on the type of game. This allows polymorphism, as I don't have to worry about whether the game is being run in Server or Client mode, and I can call the same methods regardless. |
10 months ago | |
---|---|---|
includes | 10 months ago | |
.gitignore | 11 months ago | |
Makefile | 11 months ago | |
easysock.cpp | 10 months ago | |
main.cpp | 10 months ago | |
meson.build | 10 months ago | |
sock.cpp | 10 months ago | |
todo.txt | 11 months ago |