---
title: "Gabriel's Landing"
url: "https://aigamehub.app/en/games/four-x-web-71820c"
source: "https://github.com/romilly/four-x-web"
source_type: "github"
play_url: "https://romilly.github.io/four-x-web/"
platform: "both"
login_required: false
pricing: "free"
origin: "original"
ai_tools: ["Claude"]
game_languages: ["en"]
author: "romilly"
author_handle: "romilly"
category: "Simulation"
categories: ["simulation"]
tags: ["4x", "browser", "space", "strategy", "three.js", "turn-based"]
added: "2026-11-12T12:38:25.167Z"
updated: "2026-11-12T12:38:25.167Z"
locale: "en"
content_locale: "en"
---

# Gabriel's Landing

A small turn-based space 4X game played in the browser, rendered with three.js.

## Description

Explore a fogged three-dimensional star cluster, split and merge fleets, settle colonies, research technologies and fight up to six scripted rival empires. Players pick a galaxy size (small, medium or large), a victory condition (total victory or dominance) and a difficulty level, with a short tutorial offered on the first visit. Galaxies are reproducible from a seed and can be shared by link, and games can be saved to and loaded from YAML files. Controls support mouse and touch, and scores are tallied locally in the browser.

## Original post

A small turn-based space 4X game in the browser, built by Claude

Topics: claude, game, game-development

# Gabriel's Landing A small turn-based space 4X in the browser, rendered with three.js. Explore a fogged, three-dimensional star cluster, split and merge fleets, settle colonies, research, and out-fight up to six scripted rivals. ![A short demo: colonising a planet, sending a scout, then a large galaxy](docs/demo.gif) ## Play **Play it in your browser: https://romilly.github.io/four-x-web/** New players are offered a short tutorial on their first visit. You can also open `index.html` from a copy of this repository; it loads three.js and js-yaml from CDNs, so it needs a connection. - Touch: drag to pan, pinch to zoom, drag with two fingers to rotate. - Mouse: drag to pan, scroll to zoom, right-drag or Shift-drag to rotate. Visits to the game page are counted by [GoatCounter](https://www.goatcounter.com/), which uses no cookies; the dashboard is at https://romilly.goatcounter.com. The tests block outside requests, so they are never counted. ## New games Under **?** → Game, choose a galaxy size and a victory condition, then tap a difficulty to start. | Difficulty | Rivals | |---|---| | Easy | Fog of war like yours; attack late; earn 75% of what you would | | Normal | Your equals: fog of war like yours, the same income | | Hard | As Normal, but they see the whole map | | Impossible | See the whole map, attack early, put 80% of their spare IU into fighters, earn 125% | | Size | Stars | Empires | |---|---|---| | Small | 28 | 3 | | Medium | 48 | 5 | | Large | 72 | 7 | - **Total victory:** be the last empire standing. - **Dominance:** hold 60% of all habitable planets, or be the last standing. A rival that reaches 60% first wins. ## Scores Under **?** → Scores, each browser keeps a tally of wins, losses and abandoned games by difficulty and galaxy size, with totals. A game counts once: as a win or loss when it ends, or as abandoned if you leave it unfinished after turn 1 (by starting a new game, restarting, opening a galaxy link or loading a save). The tutorial isn't counted. **Reset scores** clears the tally after a second tap. Scores are stored in the browser (`gr-scores-1`), so they don't follow you to another browser or device. ## Replaying a galaxy Every galaxy is fixed by its number (seed), size, victory condition and difficulty. Under **?** → Game, **Restart this galaxy** plays the current galaxy again from turn 1, and **Copy link** gives a link that opens it, for example `https://romilly.github.io/four-x-web/?galaxy=525128&size=small&victory=total&difficulty=hard`. Only `galaxy` is needed; the others default to small, total victory and Normal. Opening a link asks before replacing a game in progress. When a game ends, **Play this galaxy again** restarts it. ## Saved games Open the **?** panel and choose **Save as YAML** or **Load a save**. A save is a readable YAML file with a `format` name and a `version` (the save-format version, currently 2; version-1 saves load as small galaxies). The game refuses files that are not saves, saves from a newer v
