diff --git a/src/game/gameFlow.ts b/src/game/gameFlow.ts index b0d0c05..30088df 100644 --- a/src/game/gameFlow.ts +++ b/src/game/gameFlow.ts @@ -6,6 +6,8 @@ import { HuntPhase } from '../phases/hunt'; import { HandleSetup as SetupPhase } from '../phases/setup'; import { travelPhase as TravelPhase } from '../phases/travel'; import { ActionPhase } from '../phases/action'; +import { EventPhase } from './gameEvents'; +import { MountainPhase } from '../phases/mountain'; class GameFlow { @@ -41,9 +43,11 @@ class GameFlow { break; case PHASE_ENUM.EVENT: // Handle random events that can occur + await EventPhase.handleRandomEvent(gameState); break; case PHASE_ENUM.MOUNTAIN: // Handle mountain traversal challenges + await MountainPhase.handleMountain(gameState); break; case PHASE_ENUM.DEATH: // Check if conditions leading to the player's death have been met