A 3rd year Epitech Project
The goal is to implement a multithreaded server and a graphical client for a well-known legacy video game called R-Type, using a game engine of our own design
You MUST have g++ and CMake installed on your operating system
git submodule init
git submodule update
mkdir build && cd build
cmake .. -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build . --config Release
cmake .. -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build .
You have two executables the r_type_server and the r_type_client
For launch the server you must run the r_type_server wirh the port for listen ex: 8080
./r_type_server 8080
if it is on the same machine in another terminal run the r_type_client executable only. You will have a graphical interface where you must type your username, the IP and the port of the server to which you want to connect
./r_type_client
If you want to play on different computers don't forget to allow external connections on the machine which runs the server executable