I somehow managed to build a barely functional multiplayer game :o
cd /path/to/tic-tac-toe.multiplayer
cmake -S . -B build
cmake --build build
After building, both client and server executable can now be found in
./build/tic-tac-toe/
server
- usage:
server <port number>
- run server before client
- usage:
client
* 2- usage:
client <server address> <port number>
- usage:
- Raylib: https://www.raylib.com
- Hands-On Network Programming with C Learn socket programming in C and write secure and optimized network code (Lewis Van Winkle)