Description
Using the GeoJson library we access maps with defined borders and regions and alternate turns choosing a territory. Players take turns getting a random event card, placing additional pieces, and engaging in combat with adjacent opponents. The object of the game is to take over the entire map. There are 3 unit types, infantry > artillery, armor > infantry, artillery > armor.
Combat is slightly different than traditional Risk. Here you choose a number of units of each type(keeping in mind advantages) to attack with and a random integer is also generated. Bonuses are added and advantages are calculated to get a final scaled attack and defense value. Whichever is greater wins. However, losing combat does not lose your pieces entirely. A separate causualty calculation is done to determine how many of each unit is lost. To attack, select opponents territory first which will show the available territorires to attack from. Click an available territory and then click attack. Although the combat dialog will say you can use up to N units, there is still an implicit cap due to the (action points).
Recent Changes:
Improved combat and results.
Addressed bug with NaN units.
Future enhancements:
Improve upon visuals(show number of troops on map so players can quickly strategize).
Continent Bonuses.
MAIN GAME
MAP BUILDER