How trisciacabello01/oop-arcania-text-based-rpg-using-java works
Arcania is a console RPG whose opening academic-grade calculation leads into a fantasy story with quests, battles, and embedded mini-games. Main starts the RPG; the RPG opening runs the grade calculation, and the story controller coordinates quest events and mini-game calls. Shared RPG state tracks lives and damage, while a utility handles console presentation and audio playback. Several quest paths are only partially excerpted, so the graph includes documented capabilities without inferring their internal call sequence.
Main entry points: RPG.java RPG shell and state · Isekai.java Quest story controller · misc.java Audio and console utilities · Quiz.java Knowledge quiz
Components 13
Game entry
- Application entry
src/Main.java - RPG shell and state
src/RPG.java - GWA calculation
src/GWA.java
Story progression
- Quest story controller
src/Isekai.java
Combat and mini-games
- RPS combat
src/RPS.java - Knowledge quiz
src/Quiz.java - Math quiz
src/MathQuiz.java - Word guessing
src/WordGuess.java - Hangman game
src/HangmanGame.java
Shared runtime
- ASCII artwork
src/Ascii.java - Audio and console utilities
src/misc.java - Sound effects
res/sfx
Other components
- Player
Connections 22
- Player → Application entry: starts
README.md - Application entry → RPG shell and state: opens game
src/Main.java - RPG shell and state → Audio and console utilities: plays music
src/RPG.java - RPG shell and state → GWA calculation: computes grades
src/RPG.java - GWA calculation → RPG shell and state: continues story
src/GWA.java - RPG shell and state → Quest story controller: starts transition
src/RPG.java - Quest story controller → RPG shell and state: uses game state
src/Isekai.java - Quest story controller → RPS combat: dispatches combat
src/Isekai.java - Quest story controller → Knowledge quiz: starts quiz
src/Isekai.java - Quest story controller → Math quiz: uses quiz
src/Isekai.java - Quest story controller → Word guessing: uses word game
src/Isekai.java - Quest story controller → Hangman game: starts hangman
src/Isekai.java - Quest story controller → ASCII artwork: renders scenes
src/Isekai.java - Quest story controller → Audio and console utilities: controls music
src/Isekai.java - RPS combat → Audio and console utilities: plays effects
src/RPS.java - Knowledge quiz → RPG shell and state: updates lives
src/Quiz.java - Knowledge quiz → Audio and console utilities: plays effect
src/Quiz.java - Math quiz → RPG shell and state: updates lives
src/MathQuiz.java - Math quiz → Audio and console utilities: plays effect
src/MathQuiz.java - Word guessing → RPG shell and state: updates lives
src/WordGuess.java - Hangman game → RPG shell and state: updates lives
src/HangmanGame.java - Hangman game → Audio and console utilities: plays effect
src/HangmanGame.java