projects / TempleOS in Web Browser

ToTheFront

A two-player hex wargame with tanks, infantry and artillery.

ToTheFront: a hex map of plains, trees and mountains crossed by rivers and roads, with two sides' units

Open in TempleOS

#include "/Apps/ToTheFront/Run"; Click to move or fire, and press Space to end a phase. Hold Shift to see line of sight.

Opponents are plain HolyC files that are compiled when the game starts, and you can write your own. The bundled computer opponent is 79 lines long, and a comment admits it "cheats because it violates Line-of-Sight". Visibility is recalculated on every CPU core in parallel.