Back to the foundry

spainciv: Spain as a strategy map

spainciv draws Spain as the map of a turn-based strategy game: hex terrain from relief and land cover, cities with their banners, provinces, wonders (World Heritage sites, National Parks, cathedrals, universities), ports, airports, power plants and mines, and dozens of lenses: population, income, rent, unemployment, home value, languages, ancient peoples, protected foods, regional dishes, museums, castles, Blue Flag beaches, fiestas and a party index. Every number comes from a public source, cited in the map's Almanac.

Open the map
The coast around València at close zoom: farmland, wooded hills and the city tiles of València, Sagunt and Gandia
The coast around València up close.
The income lens: Spain coloured by mean net income per person
Income lens: mean net income per person, INE Atlas de Distribución de Renta de los Hogares, 2024.
The population lens: Spain coloured by residents per square kilometre
Population lens: residents per km² of land, INE Padrón, 1 January 2025.

Play it in Unciv

The same map is a playable Civilization game in Unciv, the free remake of Civilization V for Windows, macOS, Linux and Android: 83 × 53 tiles of 25 km, with real coast, relief, rivers and land cover, and resources placed where the data puts them (wine on the wine denominations, iron, salt and marble at the mines and quarries of the Spanish Geological Survey). You start as Spain in Madrid; rivals start in the other big cities.

  1. Install Unciv from its page, Google Play or F-Droid.
  2. Open Mods, find Spainciv Unciv under Downloadable mods and download it. Or press Download mod from URL and paste https://spainciv.djinnfoundry.com/unciv/Spainciv-Unciv.zip.
  3. Start new game, set Map Type to Custom and Map file to España.
  4. Press Select players from starting locations, add rivals with + and press Start game!

Full instructions, and which parts are real data and which are game convention: spainciv.djinnfoundry.com/play. The mod: github.com/DjinnFoundry/Spainciv-Unciv.

An Unciv game on the map of Spain at turn 40: Madrid's borders in the centre, rival cities around the peninsula
Turn 40 of a game in Unciv 5.0.1, with Spain in Madrid and seven rivals.

Credits

spainciv is a fork of usaciv by Andrej Karpathy, which draws the United States the same way. It keeps his MIT license; the fork adds country configurations and a map of Spain built from Spanish and European public data.

Data sources

The map reads more than forty public datasets, each listed with its publisher, license, vintage and checksum in the map's Almanac. The main ones: