---
title: "Gabriel's Landing"
url: "https://aigamehub.app/zh-tw/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: "模擬"
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: "zh-tw"
content_locale: "zh-tw"
---

# Gabriel's Landing

一款在瀏覽器中遊玩的小型回合制太空 4X 遊戲，以 three.js 繪製。

## Description

探索籠罩霧氣的立體星團，拆分與合併艦隊，建立殖民地，研究科技，並與最多六個由腳本設定的對手帝國交戰。玩家可選擇銀河大小（小、中、大）、勝利條件（完全勝利或支配）與難度等級，首次造訪時會提供簡短的教學。銀河可依種子重現，並可透過連結分享；遊戲可儲存至 YAML 檔案並從中載入。操作支援滑鼠與觸控，分數會在瀏覽器本機計算。

## 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
