Skip to content

ramirezfernando/fernhelm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fernhelm

Fernhelm is a 2D, 2-player local co-op turn-based battle game developed using C++ and SDL2.

fernhelm gif

Table of Contents

How to Play

Gameplay

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

Controls

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 1
      • 2 - Attack 2
      • 3 - Special Attack 1
      • 4 - Special Attack 2
      • Any other key - Return to the main text box
  • 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
  • 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
  • 4 - Saves the game text box (saves the game to a file in the saved-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

Getting Started

Dependencies

The system requirements for running on a macOS are:

Installation

  1. Clone the repo
    git clone https://github.com/ramirezfernando/fernhelm.git
  2. Download Homebrew
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)
  3. Download SDL2 libraries
     brew install sdl2
     brew install sdl2_image

Executing program

  1. Compile the program into an executable
make game
  1. Run the executable
./play

Acknowledgments

Special thanks to:

About

A 2D, 2-player local co-op turn-based battle game

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published