---
title: "Miranda Republic"
url: "https://aigamehub.app/ja/games/miranda-republic-4c0f70"
source: "https://github.com/arrudafranco/miranda-republic"
source_type: "github"
play_url: "https://arrudafranco.github.io/miranda-republic/"
platform: "both"
login_required: false
pricing: "free"
origin: "original"
ai_tools: ["Claude Code"]
game_languages: ["en"]
author: "arrudafranco"
author_handle: "arrudafranco"
category: "シミュレーション"
categories: ["simulation"]
tags: ["browser-game", "narrative", "political-simulation", "resource-management", "strategy", "turn-based"]
added: "2026-11-19T01:07:15.786Z"
updated: "2026-11-19T01:07:15.786Z"
locale: "ja"
content_locale: "ja"
---

# Miranda Republic

架空の発展途上国で4年間大統領を務め、14の対立する派閥の均衡を図り、経済と正統性を管理し、危機を乗り越えて10の結末の一つを目指すターン制政治シミュレーションゲーム。

## Description

Miranda Republic は、架空の発展途上国を舞台にしたブラウザベースのターン制ストラテジーゲームです。4年間の任期中、プレイヤーは政策を選択し、Banks から Underworld まで 14 の政治勢力に影響を与えながら、正統性、国家の物語、経済、そして Colossus と呼ばれる強力な外国の超大国の忍耐を管理します。ゲームには 54 の政策、9 つの実績マイルストーン、動的なイベントと危機チェーン、イベント結果カード、就任日のオープニング、ターンごとのブリーフィング、10 種類の異なる結末の物語エピローグが含まれます。また、セーブ/ロード、15 ステップのガイド付きチュートリアル、折りたたみ式のデスクトップインターフェース、5 タブのモバイルレイアウトを備えています。React、TypeScript、Zustand、Tailwind で構築され、単体テストとクロスブラウザテストを備えています。

## Original post

Turn-based political sim where policy decisions ripple through 14 competing factions. Manage legitimacy, navigate crises, and survive your rival across 10 possible endings. Built with React + TypeScript via Claude Code, with deterministic testing and accessibility features.

Topics: accessibility, ai-assisted-development, claude-code, cross-browser-testing, deterministic-testing, game, governance, political-simulation, progressive-disclosure, react, simulation, strategy-game, tailwind, turn-based, typescript, vite, web-app, zustand

# Miranda Republic A political simulation game set in a fictional developing nation. Navigate four years as president, balancing competing factions, managing an economy under pressure, and surviving the machinations of your political rival. **[Play Now](https://arrudafranco.github.io/miranda-republic/)** ![Miranda Republic gameplay screenshot](screenshot.png) ## About Miranda Republic is a turn-based strategy game where every policy decision ripples through 14 political blocs, from the Banks to the Underworld. Manage your legitimacy, control the national narrative, and keep the Colossus (a powerful foreign superpower) from losing patience. With 54 policies (including 5 milestone-exclusive rewards), 9 achievement milestones, event outcome cards, dynamic events, crisis chains, an Inauguration Day narrative opening, richly varied turn briefings, narrative epilogues (Presidential Dispatches) for all 10 endings, and 10 possible endings, no two playthroughs are alike. The desktop UI features switchable Overview/Detail modes for blocs, policies, milestones, and the sidebar, collapsible sections, dynamic resource bar coloring, a milestone tracker with condition checklists, an always-visible toolbar End Turn button with action count, close buttons on all informational modals, save/load with one-click saving and confirmation-guarded loading, and a guided 15-step tutorial with spotlight highlighting. Fully responsive for mobile with a 5-tab layout. ## Tech Stack - **Framework:** React 19 - **State Management:** Zustand 5 - **Styling:** Tailwind CSS v4 - **Build Tool:** Vite - **Language:** TypeScript - **Testing:** Vitest with seedable PRNG (183 unit tests across 9 suites, including 3,000-seed fuzz across 3 difficulty levels) + cross-browser smoke tests (Chromium, Firefox, WebKit) ## Local Development ```bash git clone https://github.com/arrudafranco/miranda-republic.git cd miranda-republic npm install npm run dev ``` The game runs at `http://localhost:5173/miranda-republic/` by default. ## Documentation For a complete reference of all game mechanics, policies, events, crisis chains, endings, and design rationale, see **[DESIGN_DOCUMENT.md](DESIGN_DOCUMENT.md)**. ## Project Structure ``` src/ components/ # React UI components data/ # Policy definitions, bloc data, events engine/ # Game logic (rival AI, economy, congress, narrative) hooks/ # Custom React hooks types/ # TypeScript type definitions utils/ # Seedable RNG, helpers test/ # Vitest engine tests (run with npm test) ``` ## Testing ```bash npm test # 183 unit tests (engine logic, milestones, briefing, fuzz, balance) npm run test:browsers # Cross-browser smoke tests (requires dev server running) ``` Cross-browser tests launch Chromium, Firefox, and WebKit via Playwright to verify that the game loads, renders core UI, and plays through the opening sequence without errors. Install browsers with `npx playwright install chromium firefox webkit`. ## How This Was Built Miranda Republic was built collaborativ
