Skip to content

Adds Map of the Yellow Sea#4026

Merged
evanpelle merged 13 commits into
openfrontio:mainfrom
crunchybbb2:yellow-sea
May 28, 2026
Merged

Adds Map of the Yellow Sea#4026
evanpelle merged 13 commits into
openfrontio:mainfrom
crunchybbb2:yellow-sea

Conversation

@crunchybbb2
Copy link
Copy Markdown
Contributor

@crunchybbb2 crunchybbb2 commented May 27, 2026

Description:

"A high-stakes naval theater where empires clash over narrow corridors, bottleneck straits, and heavily fortified shorelines."

Modeled to the exact strategic proportions of the classic Black Sea map, Yellow Sea shifts the focus of global conflict to East Asia. The map is defined by its massive central body of water, making naval dominance absolutely essential for survival. However, unlike wide-open oceans, control of the Yellow Sea is entirely dictated by its unique coastal geography.
The Shandong And Liaoning Peninsulas are The definitive feature of the map. Two massive, opposing peninsulas project deep into the sea, acting as natural, heavily contestable daggers. They create tight naval choke points in the central waters while forcing land-based players into brutal, linear frontlines where every pixel of territory is bought with blood.
The Continental Rim: A sprawling mainland coast wraps around the northern and western edges of the map, offering expansive land routes for players who prefer sweeping land invasions over amphibious assaults.

Scale Class: Medium

Gameplay Style: Naval/Land Hybrid, Tactical Choke Points, Frontline Bottlenecks

Nations: 8
North Korea South Korea Liaoning Shandong Beijing Hebei Tianjin Jilin

description mostly generated by google gemini ai

Please complete the following:

  • I have added screenshots for all UI updates
  • I process any text displayed to the user through translateText() and I've added it to the en.json file
  • I have added relevant tests to the test directory
  • I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced

Please put your Discord username so you can be contacted if a bug or regression is found:

DISCORD_USERNAME crunchybbbbb

Screenshot 2026-05-24 220103 yellow_sea2

Game play video https://youtu.be/IcRPTM0rHM0

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 27, 2026

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Adds the "Yellow Sea" regional map: new asset and manifest files, registers the map in the generator and game enums/categories, adds an English label, and assigns playlist frequency weight 5.

Changes

Yellow Sea Map Registration

Layer / File(s) Summary
Map asset definition
map-generator/assets/maps/yellowsea/info.json, resources/maps/yellowsea/manifest.json, map-generator/main.go
Yellow Sea map metadata and manifest are added, including eight nations with coordinates, names, and flag codes; the map is registered in the map-generator.
Game type and regional category
src/core/game/Game.ts
GameMapType.YellowSea enum member added and included in mapCategories.regional.
Localization and playlist weight
resources/lang/en.json, src/server/MapPlaylist.ts
English label map.yellowsea added and YellowSea added to MapPlaylist.FREQUENCY with weight 5.

Sequence Diagram(s)

sequenceDiagram
  participant MapGenerator
  participant InfoJSON
  participant ManifestJSON
  MapGenerator->>InfoJSON: load `map-generator/assets/maps/yellowsea/info.json`
  MapGenerator->>ManifestJSON: reference `resources/maps/yellowsea/manifest.json`
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • openfrontio/OpenFrontIO#3920: Adds a regional map end-to-end via the same code paths (map-generator registry, GameMapType/mapCategories, MapPlaylist FREQUENCY, manifests).
  • openfrontio/OpenFrontIO#3975: Similar structural changes to register a new regional map (indiansubcontinent) across the same touchpoints.
  • openfrontio/OpenFrontIO#3998: Another regional-map addition that updates the same registration and playlist paths (Balkans vs Yellow Sea).

Suggested reviewers

  • evanpelle
  • FloPinguin

Poem

🌊 A new sea painted on the board,
Eight flags settle by coast and shore,
Names and coords placed neat and fair,
A regional stage set square by square,
Yellow Sea now joins the lore.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely summarizes the main change: adding a new Yellow Sea map to the codebase.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The pull request description clearly relates to the changeset, detailing a new Yellow Sea map with geographic features, gameplay mechanics, nations, and strategic focus.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/core/game/Game.ts`:
- Line 179: Add two targeted tests: one asserting the enum value
GameMapType.YellowSea is exactly the string "Yellow Sea", and another asserting
mapCategories.regional includes GameMapType.YellowSea; place them in the
existing tests/MapConsistency.test.ts (or a nearby map-specific test file) so
they run with the rest of map consistency checks, using the existing imports for
GameMapType and mapCategories and straightforward equality/inclusion assertions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4a73f0c3-cc59-4e45-8c43-233baa53f4bf

📥 Commits

Reviewing files that changed from the base of the PR and between 2d6342c and b9a907a.

⛔ Files ignored due to path filters (4)
  • map-generator/assets/maps/yellowsea/image.png is excluded by !**/*.png
  • resources/maps/yellowsea/map.bin is excluded by !**/*.bin
  • resources/maps/yellowsea/map16x.bin is excluded by !**/*.bin
  • resources/maps/yellowsea/map4x.bin is excluded by !**/*.bin
📒 Files selected for processing (7)
  • map-generator/assets/maps/yellowsea/info.json
  • map-generator/main.go
  • resources/lang/en.json
  • resources/maps/yellowsea/manifest.json
  • resources/maps/yellowsea/thumbnail.webp
  • src/core/game/Game.ts
  • src/server/MapPlaylist.ts

Comment thread src/core/game/Game.ts
@github-project-automation github-project-automation Bot moved this from Triage to Development in OpenFront Release Management May 27, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@resources/lang/en.json`:
- Around line 607-610: The JSON has a syntax error and a duplicate key: add the
missing comma after the "yellowsea": "Yellow Sea" entry and remove the duplicate
"balkans" entry so "balkans" appears only once (keep the intended value for the
"balkans" key and ensure "labyrinth" remains present); check the object
containing "balkans", "yellowsea", and "labyrinth" to confirm valid JSON and
unique keys.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: dc8b0e64-1ea5-40f0-8b9c-1881b69458cb

📥 Commits

Reviewing files that changed from the base of the PR and between 3257f0d and 4a0815a.

📒 Files selected for processing (4)
  • map-generator/main.go
  • resources/lang/en.json
  • src/core/game/Game.ts
  • src/server/MapPlaylist.ts
🚧 Files skipped from review as they are similar to previous changes (3)
  • src/core/game/Game.ts
  • map-generator/main.go
  • src/server/MapPlaylist.ts

Comment thread resources/lang/en.json Outdated
@RickD004
Copy link
Copy Markdown
Contributor

@coderabbitai approve

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 28, 2026

✅ Actions performed

Comments resolved and changes approved.

@evanpelle evanpelle added this to the v32 milestone May 28, 2026
@github-project-automation github-project-automation Bot moved this from Development to Final Review in OpenFront Release Management May 28, 2026
@evanpelle evanpelle merged commit 2cb5244 into openfrontio:main May 28, 2026
11 of 12 checks passed
@github-project-automation github-project-automation Bot moved this from Final Review to Complete in OpenFront Release Management May 28, 2026
@coderabbitai coderabbitai Bot mentioned this pull request May 29, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

3 participants