- HAMADY Marie
- LE LAY Louis
- TEIXEIRA Pierre
- SDL2
- SDL2_mixer
- SDL2_image
- SDL2_ttf
- nlohmann_json
-
Download the necessary libraries using the following commands:
sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev sudo apt install nlohmann-json3-dev
-
Clone the game's Git repository:
git clone https://github.com/MPL-projects/8-bit-brawl.git
-
Access the project directory:
cd path/to/the/repository
-
Compile the game using
make
:make
-
Run the game:
./main
Two players on the same PC battle it out in an 8-bit game. The aim is for one player to lose all his hit points.
-
Default keys:
- Player 1:
- Move :
- Up:
Z
- Down:
S
- Right:
D
- Left:
Q
- Up:
- Attack:
E
- Parry:
R
- Move :
- Player 2:
- Movement: Directional arrows
- Attack:
M
- Parry:
L
- Player 1:
-
With joysticks:
- Two possibilities:
- One joystick player, one keyboard player.
- Two joystick players.
- Two possibilities:
- Each player starts with 50 life points (HP).
- Each attack inflicts 10 VP of damage on the opponent.
- Each player's VPs are displayed as hit point bars.
- When a player runs out of VPs, he dies and the game offers to restart.
- Change each player's skin.
- When a player runs out of VPs, he dies and the game offers to restart the game.
- Change each player's skin.