A simple networking project implemented in C++ using the ASIO library. This project demonstrates client-server networking functionalities and includes a sample Hangman game implemented over the network.
- Networking Communication: Client-server communication using the ASIO library.
- Sample Game - Hangman: A classic hangman game implemented for network play.
- Cross-Platform Compatibility: Developed in C++ for easy cross-platform support.
- C++ compiler (C++11 or later)
- CMake
- ASIO (version 1.22.1 included in
Depends
folder)
-
Run the Server:
- Navigate to the server executable:
./build/ServerExecutable
- Navigate to the server executable:
-
Run the Client:
- In a separate terminal, navigate to the client executable:
./build/ClientExecutable
- In a separate terminal, navigate to the client executable:
-
Play the Game: Follow the on-screen instructions to play Hangman with the server.
- ConsoleApplication1/: Main application folder.
- Depends/asio-1.22.1/: ASIO library dependencies.
- NetworkTest/: Test files for networking functions.
- Networking.sln: Solution file for IDEs like Visual Studio.
Contributions are welcome! Please submit a pull request or open an issue for suggestions.
This project is licensed under the MIT License.