A downloadable game for Windows, macOS, Linux, and Android

Squarefolk is a tiny turn-based 4X demo that runs entirely in your browser as a single HTML file.

  • Procedural maps — same seed, same map (integer-only generator)
  • Real fog of war — the AI plays by the same vision rules you do
  • Move & attack in one turn, with flank / support / stance / promotion bonuses
  • Siege warfare: break the wall, then enter from an adjacent tile to capture — and besieged cities can still raise defenders
  • City economy: farms → population → upgrades (workshop / bank / wall), 4-tech tree, unit capacity = city level + 1
  • Win by leaving your opponent with no cities and no units, or by eliminating a cityless remnant within a 5-turn grace period
  • Spec-driven development: public rules document, 68 golden test vectors, 146 assertions

Runs offline. Desktop + mouse recommended. UI is currently in Chinese.

Published 6 days ago
StatusPrototype
PlatformsWindows, macOS, Linux, Android
Authorboltomli
GenreStrategy
AI DisclosureAI Assisted, Code, Graphics, Sounds, Text

Download

Download
https://github.com/boltomli/squarefolk/blob/main/demo/squarefolk.html
External

Install instructions

Download external HTML file and open in local browser. All runs in local.

Development log

Leave a comment

Log in with itch.io to leave a comment.