feat: rewrite as interactive movie-hacker simulator - #3
Conversation
Ground-up rewrite. The old build was a passive arcade ritual wrapped in disclaimers; this one makes you the hacker: - Hackertyper core: mash any keys and convincing (fictional) code pours into the terminal. Keystrokes drive the whole run. - Five-stage missions: proxy-chain uplink on a real TopoJSON world map, code injection, a firewall counterattack you must out-type or get traced, a password-crack spectacle, and file exfil. - Four fictional targets (THE GIBSON, an orbital disco satellite, an evil bank, the Global Genius Database), each with its own loot, password joke, and victory card. - Win or lose: ACCESS GRANTED splash or CONNECTION TRACED fail screen with instant retry; debrief with keystroke stats and operator ranks from SCRIPT KIDDIE to ZERO COOL CERTIFIED, plus a copyable report. - Extras: ESC boss-mode spreadsheet, opt-in WebAudio synth, matrix rain, CRT scanlines, alarm mode, reduced-motion support, mobile MASH button. Backend simplified to a single stdlib Go file serving embedded assets — the WebSocket hub and generators are gone, everything runs client-side. Adds embedded-asset tests and widens CI's JS syntax check to all modules. Verified end to end with headless Chromium on desktop and mobile viewports: full happy path, traced-fail path, retry, and boss mode.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (26)
📝 WalkthroughWalkthroughThis PR restructures Hack the Planet from a server-driven WebSocket simulation to a client-side game orchestrator. The Go backend is simplified to serve embedded static assets; the JavaScript frontend is rewritten with centralized state management, modular components, and stage-based gameplay flow. The visual design shifts from arcade cyber-brutalism to a CRT phosphor theme with multi-screen layout. ChangesClient-Driven Architecture Transition
🎯 4 (Complex) | ⏱️ ~60 minutes
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Ground-up rewrite. The old build was a passive arcade ritual wrapped in
disclaimers; this one makes you the hacker:
into the terminal. Keystrokes drive the whole run.
code injection, a firewall counterattack you must out-type or get
traced, a password-crack spectacle, and file exfil.
evil bank, the Global Genius Database), each with its own loot,
password joke, and victory card.
with instant retry; debrief with keystroke stats and operator ranks
from SCRIPT KIDDIE to ZERO COOL CERTIFIED, plus a copyable report.
CRT scanlines, alarm mode, reduced-motion support, mobile MASH button.
Backend simplified to a single stdlib Go file serving embedded assets —
the WebSocket hub and generators are gone, everything runs client-side.
Adds embedded-asset tests and widens CI's JS syntax check to all modules.
Verified end to end with headless Chromium on desktop and mobile
viewports: full happy path, traced-fail path, retry, and boss mode.
Summary by CodeRabbit
New Features
Refactor
Documentation
Tests