Press green flag and watch. DO NOT activate turbo mode, it will break the simulation. It is recommended that you do NOT go fullscreen, it will greatly increase the lag. The simulation takes up a significant portion of the CPU and memory (~45% CPU and ~780 MB average) so don't have any other CPU-intensive programs running while the simulation is running. (outdated) Press Spacebar to toggle lifetime deaths.
Invaders are in blue, defenders are in red. Invaders spawn infantry through landing craft, the infantry inside can be killed by bullets and artillery Defender infantry just walks on screen from the right side Riflemen (short brown stick) have a medium rate of fire and accuracy. LMG infantry (grey L) have very high rate of fire but low accuracy. Marksmen (long brown stick) have a low rate of fire but high accuracy. Sappers (short grey stick, only available to invaders) have a dinky little terrible pistol but can deploy cover which protects from bullets. Their ultimate goal is to cut the barbed wire, but that seems very unlikely. The bunker shoots short machinegun bursts before switching direction. Defender artillery fires every few seconds and destroys cover and kills infantry. Attacker artillery fires every few dozen seconds and only kills infantry and does damage to the bunker. Friendly fire is on for both sides! 11/29/2018 - reduced average CPU usage to ~40% by simplifying code 11/30/2018 - reduced average memory usage to ~780 MB by fixing bullet code but increased average CPU usage back up to 45% by making them stop shooting when there's no troops left on either side 12/18/2018 - added lag-free corpses and other performance tweaks