← Back to ProjectsProject 06 / 06 · Game · Full-Stack

Case Study 06

Adventure Game

THE ARCHIVE — a full-stack text adventure

THE ARCHIVE is a full-stack text adventure: React frontend (choices, 18ms typewriter, ambient backgrounds, JWT auth, leaderboard) and Spring Boot backend (38-scene story service, gated choices, achievements, scoring, leaderboard). An Archivist chases the Pale Archivist across 3 chapters.

ReactSpring BootJWT
ADVENTURE GAME
THE ARCHIVE — a full-stack text adventure
1. Login → JWT Bearer; 401 returns to /login; /game protected. → 2. Read → 3. Choose → 4. Resolve → 5. End/restart

01 · Overview

Overview

02 · The Problem

The Problem

03 · The Solution

The Solution

04 · How It Works

How It Works

01 · 1. Login → JWT Bearer; 401 returns to /login; /game protected.-

1. Login → JWT Bearer; 401 returns to /login; /game protected.

02 · 2. Read+

18ms/char typewriter, click to skip; ambiance backdrops.

03 · 3. Choose+

gated until narrativeDone; missing items hide/block.

04 · 4. Resolve+

score/bonus, health, inventory, flags, achievements, timestamps.

05 · 5. End/restart+

victory endings (+100/+60) with summary; reset bumps deaths.

Select a stage to expand it. Every stage maps to code in the repository.

05 · System Architecture

System Architecture

Frontend

React 18 + Router 6 + axios + framer-motion; GameScreen, api.js, useTypewriter, HUD, modals.

Backend

Spring Boot 3.2 + Java 17 + Security/JWT; GameService, Controller, 38-scene DataService.

Data

Player state + scene graph; leaderboard top 10 by score.

06 · Core Features

Core Features

38 scenes: Awakening (riddle 'Memory'), Burning Library ('Truth'), Heart ('To witness' → true ending).

38 scenes: Awakening (riddle 'Memory'), Burning Library ('Truth'), Heart ('To witness' → true ending).

Gated choices via items/flags.

Gated choices via items/flags.

Score + health deltas.

Score + health deltas.

6 achievements including high_scorer (200+).

6 achievements including high_scorer (200+).

JWT leaderboard + auth.

JWT leaderboard + auth.

Cinematic UI with skip, HUD, summaries.

Cinematic UI with skip, HUD, summaries.

07 · Technical Implementation

Technical Implementation

08 · My Contribution

My Contribution

09 · Tech Stack

Tech Stack

Frontend
React 18 · Router 6 · axios.
Backend
Java 17 · Spring Boot 3.2 · JWT.
Data
player + scene graph · leaderboard.
Ops
Docker Compose · env config.

10 · Challenges & Decisions

Challenges & Decisions

11 · Result

Result

12 · Links

GitHub / Demo

← AppleSupport AIAll ProjectsSkillVision AI →