Ether of Creatures
Description
"Saruman's Ether of Creatures" is a library for Linux in which a MonsterMash's player has a empty deck and tries to win up to 5 cards of Monsters from the Saruman's deck. It works by playing a simple game of Jokenpo, also known as Rock-Paper-Scissors. After 5 rounds of it, the player must leave with the cards won in order to keep playing on MonsterMash game.
Configuration
Follow these steps to clone the project to your computer:
- Access the diretory where you wish to clone the project to. For exemple:
cd ~/Documents/Projects
. - Clone the project with the following command on your terminal:
git clone http://[username]@projetos.imd.ufrn.br/louisestella/ether-of-creatures.git
. - Remember to replace
[username]
with your own username on Git Lab.
Compilation
- Access the main directory of the program using this command:
cd ~/ether-of-creatures
. - Now type
make
on the terminal and press ENTER. - The project has been compiled.
Execution
- If you are still in the main directory of the program, skip to the next step. Otherwise, access it.
- Now type
build/dynamic_ether_of_creatures
and press ENTER. - There you go! The program is read to start.
Extra Information
{ For Handerson:
- Probabilidade das forças dos monstros:
saruman.cpp
(lines 29 to 43) - use ofrand()
; - Uso de construtores:
beast.cpp
,fantastic.cpp
,monster.cpp
,winged.cpp
. - Uso de Alocação Dinâmica:
fileManipulation.hpp
(read from and write to files functions). - Uso do This:
fileManipulation.hpp
(line 22); and also on the craetures's constructors (each class:beast.cpp
,fantastic.cpp
,monster.cpp
,winged.cpp
); - Sobrecarga de Funções:
beast.cpp
,fantastic.cpp
,monster.cpp
,winged.cpp
(the getters and setters of the monsters's classes).