Skip to content

[1880 Romania] Add 1880 Romania Transilvania variant#12738

Open
perwestling wants to merge 4 commits into
tobymao:masterfrom
perwestling:feature/1880_romania_transilvania
Open

[1880 Romania] Add 1880 Romania Transilvania variant#12738
perwestling wants to merge 4 commits into
tobymao:masterfrom
perwestling:feature/1880_romania_transilvania

Conversation

@perwestling

@perwestling perwestling commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

[1880 Romania] Adds the Transilvania 2 player variant to 1880 Romania.

Before clicking "Create"

  • Branch is derived from the latest master
  • Add the pins or archive_alpha_games label if this change will break existing games
  • Code passes linter with docker compose exec rack rubocop -a
  • Tests pass cleanly with docker compose exec rack rake

New variant, so no games to archive/pin.

Implementation Notes

This is an initial commit that implements a variant using a 2-player
Transilvania map. Based on 1880 Romania it removes and changes things
based on the variant by Lonny.

Some companies from 1880 China or 1880 Romania are not applicable for 1880 Romania Transilvania
and have therefor been overridden with empty implementation.

Companies and minors are a subset of the ones in 1880 Romania.

Corporations and Foreign investors use different coordinates compared to 1880 Romania.

Have added some simple unit tests. And a game end fixture to test the only supported game end.

Explanation of Change

Have made changes needed for 2 player variant.

Played a hot seat game to completion.

Screenshots

N/A

Any Assumptions / Hacks

N/A

@perwestling perwestling requested a review from crericha as a code owner June 6, 2026 07:57
@perwestling perwestling added new games Issues relating to games that are not yet alpha test level 1880 Romania labels Jun 6, 2026
@perwestling perwestling changed the title Add 1880 Romania Transilvania variant [1880 Romania] Add 1880 Romania Transilvania variant Jun 6, 2026
Comment thread lib/engine/game/g_1880_romania_transilvania/game.rb Outdated
perwestling and others added 3 commits June 6, 2026 10:43
Tests cover:
- Game meta configuration (title, player range, dev stage, dependencies)
- Game constants (starting cash, cert limit)
- Game initialization (companies, minors, corporations with coordinates)
- Train configuration (quantities, events for 2+2, 3+3, 6E, 8E, 2R)
- Par chart functionality
- Dummy companies for unused privates (P2, P4, P6, P7)
- Map configuration (layout, axes, location names, hexes, offboard)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1880 Romania new games Issues relating to games that are not yet alpha test level

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant