Commit Graph
14 Commits
Author SHA1 Message Date
KoalaTrapLord 2c67222de1 fix(lobby): wire OnConfirm to POST /api/game/start, save game_id to PlayerPrefs
- OnConfirm() now calls ApiClient.PostGameStart() with 4-seat config
- On success: saves BattleSeats + GameId + WsUrl to PlayerPrefs,
  loads Battleground scene
- On failure: shows inline error label (red), re-enables Confirm button
- Added StartGameRequest/Response POCOs matching routes/game.py schema
- Added _errorLabel [SerializeField] for user-facing error feedback
2026-03-29 05:22:04 -04:00
KoalaTrapLord 7aed64a660 fix: add PostGameAction to ApiClient + update TODO.md all issues complete
- ApiClient.cs: add PostGameAction() wrapper → POST /api/game/action
  (fixes compile error in HumanActionBar.cs)
- TODO.md: mark issues #145, #146, #147, #149, #150, #151 as ✅
  all 14 battleground issues now committed
2026-03-29 05:09:51 -04:00
KoalaTrapLord e3d4eb5785 feat(#147 #150 #151): add LobbySetupModal, ZoneViewerModal, EliminationHandler; add Play Live button to SimulationController 2026-03-28 20:03:43 -04:00
KoalaTrapLord abee551ab4 feat(#146): add StackZoneController, StackItemView, and ManaPoolDisplay 2026-03-28 20:02:23 -04:00
KoalaTrapLord 9fdb6d29fb chore: mark issues 1-8 as complete in task tracker 2026-03-28 19:58:00 -04:00
KoalaTrapLord 2c8c6c26bd feat(#144): add TokenModel POCO, TokenPanelController, and TokenRowView 2026-03-28 19:57:00 -04:00
KoalaTrapLord 9ffefd463c feat(#143): add CommanderZoneWidget with art crop, cast counter, and tax display 2026-03-28 19:56:24 -04:00
KoalaTrapLord 4c99957e76 feat(#142): add CardZone and CardView battlefield zone components 2026-03-28 19:56:09 -04:00
KoalaTrapLord e5e25a7553 feat(#141): add TurnOrderBar and TurnOrderPill 2026-03-28 19:55:40 -04:00
KoalaTrapLord 8d56feee80 feat(#140): add PhaseTrackerWidget and PhaseStepButton 2026-03-28 19:55:17 -04:00
KoalaTrapLord 837bb3d6f9 feat(#139): add LifeTrackerWidget, CommanderDamageRow, PoisonCounter 2026-03-28 19:54:56 -04:00
KoalaTrapLord 98b81ceab2 feat(#138): add BattlegroundController scene orchestrator 2026-03-28 19:54:24 -04:00
KoalaTrapLord fae04a9336 feat(#148): add GameStateManager singleton and GameState/SeatState POCOs 2026-03-28 19:54:01 -04:00
KoalaTrapLord 07010a71ed chore: add battleground UI task tracker (2026-03-28) 2026-03-28 19:50:06 -04:00