[Comp G] Terra

Terra
:An Multiplayer ASCII turn based strategy with procedurally generated world.

It's not going to be very complex or complicated with only three different types of troops and three resources.
There's only going to be two build-able buildings, walls and bases. Walls blocks movement, and bases produce troops.
Bases share resources globally.
The troops have a rock paper scissors arrangement with tank having a advantage over infantry, infantry having a advantage over jets and jets having a advantage over tanks. Each troop type has a unique ability, with Infantry being able to capture and build bases, tanks attacking over range, and jets being unaffected by land barriers.
Jets are faster than tanks, which are faster than Infantry.

Multiplayer, still deciding between Peer-To-Peer or server based.(what do you guys think is the best choice?)

World procedurally generated with Diamond Square Algorithm.

Combat behaves as follows, if two units A and B attack a unit C by both moving into the square C occupies they have a 60% chance of destroying C and occupying its block,and a 40% chance of A or B being destroyed, if A and B have advantage ,if A xor B have advantage over C then it's a 50% chance of destroying C and occupying its block,and a 50% chance of A or B being destroyed ,and if neither A nor B have advantage the it's a 40% chance of being destroyed. Each additional unit attacking increases chance of destroying C by 5%, and each unit adjacent to C decreases chance of destroying C by (5*amount of units adjacent that to that unit(Including C))%. The max chance to destroy C is 100%, which means the units will succeed in destroying C.

Resources are sulfur,oil and iron. They're non-reusable i.e. they get deleted from map if used.

Current prototype has base building, and troop movement. Code on github.
https://github.com/LukasNel/Terra





2016-03-19 11_17_05-WorldBasicFunctions.cpp [RogueLikeBoard] - Code__Blocks 13.12.png
644 x 692 - 88K
2016-03-19 11_16_13-C__Users_Abrie_Desktop_RogueLikeBoard_bin_Debug_RogueLikeBoard.exe.png
640 x 684 - 87K
2016-03-19 11_19_50-C__Users_Abrie_Desktop_RogueLikeBoard_bin_Debug_RogueLikeBoard.exe.png
643 x 686 - 86K
Thanked by 1konman

Comments

Sign In or Register to comment.