An oversimplified territory simulation. Place down the territory of two factions, and see how they expand and conflict with each other!

Made with p5.js, for CDM 189

Details

When two territories conflict, what the outcome is semi-random, but weighed depending on the faction's resources (listed in the bottom bar), with different weighing for water and land conflict (e.g wood/forest control matters much more for water combat, since shipbuilding)

Fields tiles provide food, and have no requirements to control

Forests tiles provide wood, and have no requirements to control

Water tiles require 1 wood and 1 food to control, but provides trading power (factor in both land and water conflict)

Mountains tiles 1 food to control, and take large amounts of food (6x) to control deeper into the mountains, but provide ore (major factor in land conflict)

The faction will lose control of a tile if they lack the food/wood to control it, which leads to some unstable behavior. 

Download

Download
GridstorySource.zip 1 MB

Install instructions

Source code. Includes p5.js library

Leave a comment

Log in with itch.io to leave a comment.