- Marcos Lapa, our supervising professor, your experience and knowledge have been invaluable to our progress.
This is a project made for Logic Programming subject at SENAI CIMATEC, it's a console-based matrix game: Simulates a large battle in Lapland, where players position their soldiers represented by 1 and 2, # or @ on a matrix grid.
-
Soldier placement: Players can position their troops on the battlefield during the setup phase.
-
Soldier types: Players can choose between four types of soldiers:
Type "1" soldiers can only shoot forward, stopping at the first enemy encountered.
Type "2" soldiers can only shoot diagonally.
South Special soldier "@": The @ soldier can fire a 3x3 bomb anywhere on the field, eliminating all enemy soldiers within the affected area.
North Special soldier "#": The # soldier can shoot in a straight line, eliminating all enemies in its path.
-
Battle between north and south: After troop placement, the battle commences between the north and south sides of Lapland, the goal is to eliminate the enemy soldiers before losing all of your own troops.
-
Interface that allows players to position soldiers, and execute attacks.
-
Text visual feedback: The game provides visual feedback during the battle, indicating the movements and attacks performed by the soldiers, enabling players to track the progress of the battle with victory/defeat messages
-
Game restart: Players have the option to restart the game and play again.
Laponia Battle dependencies are the standart C and C++ libraries and:
<ctime>
.<locale.h>.
Make sure you have all dependencies before running Laponia Battle.
First, clone this repository. After that, compile laponia_battle.cpp
with the following command:
gcc ./src/laponia_battle.cpp -o laponia_battle
Then, run the executable code with:
./laponia_battle
Laponia Battle screens appearance turn out to be like like Figure 1.
Basically everyone ocasionally just hang out at discord to code and have fun :).
Feel free to create a new branch, fork the project or contact one of us to develop at Laponia Battle Project!.