Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.01 KB

README.md

File metadata and controls

71 lines (58 loc) · 2.01 KB

R-TYPE

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

Installation

You MUST have g++ and CMake installed on your operating system

Setting up vcpkg

git submodule init
git submodule update

Creating the executable

mkdir build && cd build

For Windows

cmake .. -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build . --config Release

For Linux

cmake .. -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build .

Usage of executables

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

Wearning

If you want to play on different computers don't forget to allow external connections on the machine which runs the server executable

Contributors

License

MIT