How sagiadi/the-next-interview-game works
The repository is a Unity 2D job-search game: the player explores a city, earns project points by solving puzzles, builds connections, manages distraction-related time loss, selects a job, and completes an interview whose result determines a win or loss. The README documents the main runtime interactions and event-driven UI; the graph preserves those stages and the interview evaluation layer. Source excerpts were limited to a story-build script, so runtime relationships below rely on README documentation, not inspected C# implementations. The separate Twine story is included as a documented companion capability.
Main entry points: GameSession.cs Game session · PlayerInteractor.cs Player interactor · InterviewSession.cs Interview session · Events Event channels
Components 23
City gameplay
- Input reader
Assets/Scripts/Player/PlayerInputReader.cs - Player movement
Assets/Scripts/Player/PlayerMover.cs - Interaction sensor
Assets/Scripts/Player/InteractionSensor.cs - Player interactor
Assets/Scripts/Player/PlayerInteractor.cs - Puzzle station
Assets/Scripts/World/PuzzleStation.cs - Puzzle generator
Assets/Scripts/Puzzle/PuzzleGenerator.cs - Contact NPC
Assets/Scripts/World/ContactNPC.cs - Player focus
Assets/Scripts/Player/PlayerFocus.cs - Distraction
Assets/Scripts/Obstacles/Distraction.cs - Distraction launcher
Assets/Scripts/Obstacles/DistractionLauncher.cs - Job board
Assets/Scripts/World/JobBoardZone.cs
Game state
- Game session
Assets/Scripts/Game/GameSession.cs - Round timer
Assets/Scripts/Game/RoundTimer.cs - Round rules
Assets/Scripts/Game/RoundRules.cs - Event channels
Assets/Scripts/Events
Interview
- Interview session
Assets/Scripts/Interview/InterviewSession.cs - Interview evaluator
Assets/Scripts/Interview/IInterviewEvaluator.cs
Presentation and story
- Interview screen
Assets/Scripts/UI/InterviewScreen.cs - Round HUD
Assets/Scripts/UI/RoundHud.cs - Gameplay panels
Assets/Scripts/UI - Twine companion story
story/the-next-interview.twee - Win and loss scenes
Assets/Scenes/Win.unity
Other components
- Player
Connections 25
- Player → Input reader: provides controls
README.md - Input reader → Player movement: drives movement
README.md - Player movement → Interaction sensor: provides facing
README.md - Input reader → Player interactor: signals interaction
README.md - Player interactor → Interaction sensor: uses target
README.md - Player interactor → Puzzle station: interacts
README.md - Player interactor → Contact NPC: interacts
README.md - Player interactor → Job board: interacts
README.md - Puzzle station → Puzzle generator: requests puzzle
README.md - Puzzle station → Event channels: raises requests
README.md - Contact NPC → Game session: adds connection
README.md - Contact NPC → Event channels: raises message
README.md - Distraction → Player focus: causes focus loss
README.md - Player focus → Game session: spends time
README.md - Distraction launcher → Distraction: launches
README.md - Job board → Event channels: raises job request
README.md - Round timer → Game session: spends time
README.md - Game session → Round rules: signals time up
README.md - Round rules → Win and loss scenes: loads loss scene
README.md - Game session → Round HUD: publishes state
README.md - Event channels → Gameplay panels: notifies listeners
README.md - Interview session → Interview evaluator: scores answers
README.md - Interview session → Game session: reads job and bonus
README.md - Interview screen → Interview session: submits answers
README.md - Interview session → Interview screen: publishes interview events
README.md