How raizen-max/bytebound-chronicles-of-the-digital-ninjas works
Bytebound is a Java educational adventure game. The player starts from the title screen, explores story scenes, interacts with hotspots and dialogue, completes IT-themed puzzles and quests, and reaches an ending; progress can be saved and resumed. The map separates scene/story content, gameplay state and puzzle handling, Swing presentation, and persistence/settings. The README describes hardware and software storylines, but the supplied excerpts do not establish how those choices are implemented. Connections are limited to shown calls and indexed references.
Main entry points: EventHandler.java Story events · GameManager.java Game coordinator · UI.java Game UI · SaveManager.java Save and load
Components 18
Story and scenes
- Player
src/Main/Player.java - Scene content
src/Main/SceneData.java - Dialogue scripts
script/dialogue.txt
Gameplay systems
- Story events
src/Main/EventHandler.java - Scene hotspots
src/Main/Hotspot.java - Puzzle flow
src/Main/PuzzleHandler.java - Puzzle content
src/Main/Puzzles.java - Scene transitions
src/Main/SceneChanger.java - Game coordinator
src/Main/GameManager.java
Presentation
- Game UI
src/Main/UI.java - Menus and settings UI
src/Main/MenuUI.java - Actor model
src/Main/Actor.java - Cast data
src/Main/Cast.java
Persistence
- Save and load
src/Main/SaveManager.java - Player settings
src/Main/Settings.java - Save files
- Settings file
Other components
- Player
Connections 29
- Player → Game coordinator: starts game
src/Main/GameManager.java - Game coordinator → Player settings: loads settings
src/Main/GameManager.java - Game coordinator → Game UI: creates UI
src/Main/GameManager.java - Game coordinator → Story events: loads script
src/Main/GameManager.java - Game coordinator → Scene transitions: shows title
src/Main/GameManager.java - Game coordinator → Puzzle flow: checks puzzle state
src/Main/GameManager.java - Game coordinator → Save and load: saves progress
src/Main/GameManager.java - Story events → Game coordinator: uses game state
src/Main/EventHandler.java - Story events → Player: updates flags
src/Main/EventHandler.java - Story events → Puzzle content: checks puzzle
src/Main/EventHandler.java - Story events → Scene hotspots: checks interactions
src/Main/EventHandler.java - Story events → Scene transitions: routes scenes
src/Main/EventHandler.java - Story events → Dialogue scripts: reads script
- Scene transitions → Scene content: reads scene data
src/Main/SceneChanger.java - Scene transitions → Save and load: autosaves scene
src/Main/SceneChanger.java - Puzzle flow → Puzzle content: loads puzzle
src/Main/PuzzleHandler.java - Puzzle flow → Story events: reports completion
src/Main/PuzzleHandler.java - Game UI → Story events: routes input
src/Main/UI.java - Game UI → Puzzle flow: submits answers
src/Main/UI.java - Game UI → Scene hotspots: refreshes hotspots
src/Main/UI.java - Game UI → Actor model: uses actor data
src/Main/UI.java - Game UI → Cast data: uses cast data
src/Main/UI.java - Menus and settings UI → Game coordinator: uses game state
src/Main/MenuUI.java - Menus and settings UI → Player settings: updates settings
src/Main/MenuUI.java - Menus and settings UI → Save and load: loads and saves
src/Main/MenuUI.java - Save and load → Player: stores progress
src/Main/SaveManager.java - Save and load → Scene content: validates scene
src/Main/SaveManager.java - Save and load → Save files: reads and writes
src/Main/SaveManager.java - Player settings → Settings file: reads and writes
src/Main/Settings.java