Skip to content

SloWayyy/r-type

Repository files navigation

RTYPE

Description

RTYPE is a 2D shoot'em up game in C++
The player joins a team of 4 spaceships and has to fight enemies in order to stay alive.
And when you killed all the enemies, you win the game.

Prerequisites

R-TYPE Setup WINDOWS and LINUX

Clone the repository

git clone [email protected]:SloWayyy/r-type.git

Build the project

Windows

cd r-type
cmake.exe -B build
cmake.exe --build build
cd build/Debug

Linux

cd r-type
cmake -B build
cmake --build build
cd build/

Launch the project

Server

./r-type_server [port] [ip]
Argument Type Description
port Int Port TCP on which the server will listen
ip String Ip address of the server

Client

./r-type_client port ip
Argument Type Description
port Int Port TCP on which the client will connect
ip String Ip address of the server

Internal documentation

Code formatter

We used clang-format to format our code. You can find the configuration file in the root of the project.

This is how we use it on linux:

clang-format -i -style=file <file>

or for all files in a directory :

find server -name '*.cpp' -exec clang-format -i {} \;

Authors


Kevin NADARAJAH

Mehdi Djendar

Rayan Es-Seffar

Jonathan Yakan

Taha ALANI