Skip to content

A 1v1 game designed in an 8x8 pixel style, coded without using any game engine, and compatible with both keyboard and gamepad inputs.

License

Notifications You must be signed in to change notification settings

MPL-projects/8-bit-brawl

Repository files navigation

8-Bit Brawl Game

The 8-bit brawl game

Project authors

  • HAMADY Marie
  • LE LAY Louis
  • TEIXEIRA Pierre

Libraries and external tools used

  • SDL2
  • SDL2_mixer
  • SDL2_image
  • SDL2_ttf
  • nlohmann_json

Compilation and installation instructions

  1. 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
  2. Clone the game's Git repository:

    git clone https://github.com/MPL-projects/8-bit-brawl.git
  3. Access the project directory:

    cd path/to/the/repository
  4. Compile the game using make :

    make
  5. Run the game:

    ./main

User manual

Goal of the game

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.

How to play

  • Default keys:

    • Player 1:
      • Move :
        • Up: Z
        • Down: S
        • Right: D
        • Left: Q
      • Attack: E
      • Parry: R
    • Player 2:
      • Movement: Directional arrows
      • Attack: M
      • Parry: L
  • With joysticks:

    • Two possibilities:
      • One joystick player, one keyboard player.
      • Two joystick players.

Game rules

  • 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.

Initial menu options

  • Change each player's skin.
  • When a player runs out of VPs, he dies and the game offers to restart the game.

Initial menu options

  • Change each player's skin.

About

A 1v1 game designed in an 8x8 pixel style, coded without using any game engine, and compatible with both keyboard and gamepad inputs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •