Skip to content

stellatziouma/werewolves-vampires

Repository files navigation

Werewolves-Vampires

Werewolves VS Vampires! Which team will survive? How will the Avatar impact the final result?
A fun and simple game where a team of werewolves fights against a team of vampires. The last team standing wins. As the Avatar (player), you have the ability to aid the team of your choice by using magical potions that increase each creature's health to the maximum amount.

Authors

About

This project was created entirely in C++ for the Object-Oriented Programming course during our 3rd semester. It received a grade of 9,4/10. A detailed description of the assignment can be found in the root of the repository in Greek.

How to Play

To play the game, simply open Command Prompt or Windows PowerShell and execute the following commands:

  git clone https://github.com/stellatziouma/werewolves-vampires.git
  cd werewolves-vampires

After that, if you have make installed execute:

  make run

Otherwise, execute:

  g++ -Wall -Werror -g -O2 -I./include -I./include/sdl2 -I./include/headers -Llib -o GAME ./src/*.cpp -lmingw32 -lSDL2main -lSDL2 -lSDL2_image -lSDL2_ttf
  GAME.exe

Please note that this game is designed solely for the Windows operating system.

Game Rules

Here are some basic rules to help you play the game:

  • Use the arrow keys to move the player around the map.
  • Use the h key to heal the team in favor. Note that werewolves can only be healed at night and vampires at day.
  • Use the p key to pause/unpause the game.

Have fun playing and good luck!!!

Credits

For the UI we used the open source library SDL.
The following list contains links to all used sprites.


© Stella Tziouma & Giorgos Sofronas