A unified A House Divided app for singleplayer and multiplayer on mobile and desktop. Delivery starts with offline singleplayer on iOS.
A native app port of the game at lakesidegamedev/AHDGame, which remains the authoritative multiplayer server and the mechanics reference. Licensed proprietary - see LICENSE.md.
Singleplayer. Runs locally on the device through a pinned reusable engine and supports offline play. New game, actions, turns, save, app reload and resume.
Multiplayer. Connects to the existing authoritative AHDGame server through the native session bridge. Profile, supported actions, inbox, mail and capability-gated detail summaries are available. Full gameplay parity remains in progress; the device never runs authoritative multiplayer simulation.
One UI. Both modes share native drawer and bottom navigation, Profile identity, action filters and device preferences, with adapters at the game data and action boundary. The mode matrix records remaining screen and data gaps. Players do not pass through a separate AHDClient application. The visual baseline is the actual MP/SP interface in AHDGame (see UI reference).
Fundraise now consumes Game-owned shared rules through a generated package pinned to an immutable AHDGame revision. The remaining engine systems are still being brought into parity.
Internal iOS development preview 0.1.10 build 1.23 is delivered privately through manual Codemagic to the existing Owner review group. Apple reports VALID, INTERNAL_ONLY and IN_BETA_TESTING. Reviewed source is 52f4860db4d8f500d20f6cbbb1b6c43bc30dff0c, tagged preview/0.1.10-2; PR #738 merged as 15a6aa69 after its complete source gate passed. The latest published GitHub source prerelease remains preview/0.1.9-4. Windows delivery is a private unsigned x64 owner-review build; Windows and Android retain their earlier packages. These are not public store releases or a 1.0.0 claim, and owner feedback and physical-device validation remain open in issue #124. What holds today:
- Main runs a local singleplayer world through React game screens and a dedicated simulation worker. New game, actions, turns, save, app reload and resume have passed a real browser smoke test at phone screen size.
- Bottom navigation and a side drawer reach politics, national economy/budget/policy, home region, nations, portfolio and banking. Turn, save and exit controls live in the drawer. The compact footer opens full resource details. Full feature parity is still in progress.
- Party and caucus founding, membership, stock and sovereign bond trades, bill inspection and tax-rate sponsorship use real engine actions and retain state across reloads. Offline search opens actual saved entities; appearance settings persist.
- Starting or resuming a character game opens Profile; national figures remain under Economy. Profile now includes saved portraits and biographies, political standing and finances; the remaining reference sections and player mechanics are still being ported. Party rosters expose all recorded members through search and paging; regional chambers and secondary details expand on demand.
- Native save storage has passing Rust tests.
- The reusable TypeScript engine is pinned to a recorded AHDClient revision (354 non-test engine/content files scanned; baseline provenance in engine-source-manifest.json, with subsequent adaptations).
The imported engine is incomplete. Working turns, save round-trips and deterministic replays do not establish AHDGame parity. Whole-game findings are tracked in issue #28.
Known acceptance gates before any release claim: differences from current AHDGame (mechanics audit and helper wiring inventory), v42/v44 save compatibility (save compatibility), native lifecycle and physical-device performance. A Rust engine rewrite stays profile gated: it ships only if device measurements justify it. Not every era, country, or mechanic is available yet; supported content is whatever the docs above and the roadmap show as validated.
Existing game behavior and display hierarchy are requirements across the entire app, including entry, profile sections, nested navigation, conditional controls and action outcomes. Mobile layout adapts those flows to the device. Feature parity with AHDGame navigation and its persistent game status bar remains priority one. This means working destinations, submenus, country/role-dependent entries, resource details and linked actions. Layout is mobile-first; matching pixels is not required. Labels and placeholder screens do not count as completed features. Work continues through the entire roadmap, including gameplay, mechanics, saves, lifecycle and performance. See the navigation and footer inventory, UI reference and roadmap.
React 19 UI (Vite, Tauri webview)
-> world session boundary (createWorld, actions, advanceTurn, serialize/deserialize)
-> dedicated simulation worker (TypeScript engine, pinned revision)
-> native save store (Rust app-data; IndexedDB under browser QA)
MP uses the authoritative AHDGame server API through its existing native session bridge. Shared presentation components consume each mode's explicit data and action adapters.
Requires Node 22.12+ and the pinned Rust toolchain in rust-toolchain.toml.
git clone https://github.com/lakesidegamedev/AHDNative.git
cd AHDNative
npm ci
npm run dev # http://127.0.0.1:1420For the native shell (after installing the platform prerequisites):
npm run tauri -- devnpm run verify # frontend build, session tests, UI tests, career fixtures
npm run test:smoke # Playwright integrated browser QA (needs a Chromium install;
# PLAYWRIGHT_CHROMIUM_EXECUTABLE can select an existing binary)
npm run typecheck # tsc --noEmit
npm run test:ui # UI component testsBrowser QA uses IndexedDB; native builds use the Rust app-data save store. Behavior work follows TDD through the agreed public contract or player flow (red-to-green per slice), with expected mechanics results grounded in reference-engine evidence. Repository bootstrap does not satisfy the physical-device performance gate.
The first private feedback preview is authorized after local behavioral tests and integrated smoke pass on its recorded source commit. It remains a development preview; a 1.0.0 release is not approved. Codemagic is iOS only. Windows and Android use separate local build routes. The allowance is 500 minutes; runs are capped at 20 minutes each, with no push/PR/scheduled triggers. Signed binaries, credentials, signing identities, and signing logs stay off GitHub and public dashboards; signing lives in encrypted Codemagic variables, internal TestFlight first, no automatic external review. Full owner setup in iPhone testing setup.
| Doc | What it covers |
|---|---|
| Roadmap | Delivery sequence and completion evidence |
| 0.1.3 development preview | Candidate scope, validation and private delivery rules |
| 0.1.4 development preview | UI parity and mechanics increments, validation and private delivery rules |
| 0.1.5 development preview | Presidential race, nation context, responsive logo, caucus chair controls |
| 0.1.6 development preview | World and character creation, Head of State mode, route artwork and party identity |
| 0.1.7 development preview | Earlier internal build (iOS 0.1.7 build 1.11): guided creation, Head of State, Native Ask, writable multiplayer surface, party identity |
| 0.1.8 development preview | Published source prerelease preview/0.1.8-1: mobile-design batch (glass hierarchy, safe-area geometry, keyboard resize, dual-pane contract) |
| 0.1.10 development preview | Globe title screen, main-menu Continue and compact game drawer; internal iOS 0.1.10 build 1.23 delivered |
| Navigation and footer parity | Destination inventory, resource controls and remaining feature gaps |
| UI reference | Actual MP/SP baseline, tokens, parity notes |
| Mechanics parity | Audit against AHDGame at pinned revisions |
| Helper wiring inventory | Helper, phase, action, and player reachability dispositions |
| Phase order depth | Complete base/country phase map, combined owners, gaps and RNG movement rules |
| Save compatibility | v42 interchange validation |
| Save storage | Native save store behavior |
| Career playthrough / validation | Career flow coverage |
| World validation | Seeded world evidence |
| iOS runtime validation | Device runtime checks |
| iPhone testing setup | Private signing and TestFlight setup |
| Engine source manifest | Imported engine/content provenance |
| Feature flag parity | Native phase-family controls mapped to AHDGame gates and defaults |
Standing implementation rules live in AGENTS.md; read them before changing product scope or architecture.
Bug reports, UI feedback and documentation corrections are welcome through the issue templates. Source modifications require written permission under the proprietary license. Authorized mechanics work needs parity evidence against the reference engine before it merges; formulas are ported, never rebalanced. Save-schema support must be verified explicitly before it is promised. Report exploits through private vulnerability reporting, never public issues.
Proprietary source-available - see LICENSE.md. Public visibility grants inspection and evaluation only: no reuse, modification, distribution, or hosted/commercial operation without written permission. "A House Divided" and the logo are trademarks of Lakeside Games.
