The Compliance Heist: Designing a Cybersecurity Game That Actually Trains People
The Compliance Heist is a SCORM compliant cybersecurity training game that teaches social engineering awareness through immersive branching scenarios and cinematic design.
By Nathan Stoker · Published Feb 18, 2026 · Updated Nov 8, 2026 · 9 min read

Most compliance training follows the same formula. Identify the bad behavior, avoid it, pass the quiz.
I wanted something different.
Instead of telling employees not to fall for social engineering, I built a branching narrative game that puts them in the attacker’s seat.
The result is The Compliance Heist, a fully SCORM 1.2 compliant cybersecurity training game built around perspective inversion and cinematic immersion.
This is how it came together, the design decisions that shaped it, and what building it reinforced about serious game design in enterprise learning.
The Core Concept: Perspective Inversion
The foundation is simple.
Do not warn people about phishing.
Make them craft the phishing email.
Do not explain pretexting.
Make them choose the persona to impersonate on a helpdesk call.
When learners operate as the attacker, they are forced into active decision making. They weigh tradeoffs. They manage risk. They see why certain tactics succeed.
The game follows a penetration tester running five operations against a fictional company called Meridian Financial:
Phishing email design
OSINT driven reconnaissance
Vishing
Credential harvesting through cloned login pages
A coordinated multi vector attack combining all prior techniques
Each scenario builds on the previous one. Concepts layer intentionally.
This is not branching for novelty. It is progressive skill exposure.
Why Film Noir
Aesthetic is strategy.
Noir stories center on deception, ambiguity, and consequences. That maps directly to social engineering.
The rain soaked city backdrop, jazz soundtrack, and typewriter narration create narrative tension. Learners feel like they are running an operation instead of completing compliance hours.
Atmosphere sustains engagement long enough for learning to occur.
The Visual Stack
The noir aesthetic is constructed through layered effects:
SVG noise filter for film grain
Radial vignette to focus attention
Subtle scanlines for CRT texture
Venetian blind shadow overlays for classic lighting
Low opacity scenario backgrounds with dark overlays for readability
Color palette:
Deep blacks and charcoals
Warm cream for body text
Gold accents for interaction cues
Typography is intentional:
Playfair Display for title screens
Special Elite for typewriter narration
Source Serif 4 for readable body text
JetBrains Mono for system and UI elements
Nothing decorative. Everything purposeful.
Environmental Immersion: Rain on Glass
A canvas based rain system renders animated drops with directional drift across the viewport.
It is subtle. It is constant. It adds motion and life to static scenes.
Learners may not consciously notice it. They feel it.
Game Architecture
The Compliance Heist runs on a custom JavaScript branching engine built specifically for narrative training.
Engine Structure
GameEngine handles state, scoring, scenario loading, and suspicion logic
SceneManager handles DOM rendering and narration sequencing
Audio manager controls music and ambience
SCORM wrapper manages LMS communication lifecycle
Separation of concerns keeps the system extensible and clean.
Declarative Scenario Design
Each scenario is defined as structured data rather than procedural conditionals.
No tangled if and else chains.
The engine interprets structured objects representing:
Phases
Choices
Suspicion impact
Data rewards
Outcome branches
This architecture allows rapid scenario iteration and easy expansion.
Dual Metric Feedback System
Two metrics drive the experience.
Suspicion
Visualized through a vintage dial in the upper left corner.
Animated with GSAP for smooth mechanical movement.
Approaching the red zone creates tension.
Data Points
Animated counter showing intelligence successfully exfiltrated.
Final Operative Rating is calculated across all five operations.
This creates a continuous feedback loop:
Risk versus reward
Precision versus recklessness
Strategy versus impulse
Learners care about outcomes because consequences are visible.
Progressive Unlocking
Scenarios unlock sequentially.
Phishing to OSINT to Vishing to Credential Harvesting to Multi Vector Attack.
Each increases cognitive complexity.
Completion states are displayed in the main menu:
Completed
Partial
Failed
Replay is encouraged. Exploration is safe.
Development Workflow
The structural layers of development, including DOM construction, CSS layering, animation wiring, and SCORM scaffolding, were accelerated through modern development tooling.
That allowed more focus on:
Pedagogical design
Tone calibration
Cybersecurity accuracy validation
Systems architecture
Execution was faster. Design still required judgment.
SCORM 1.2 Integration
Enterprise viability was non negotiable.
The game includes a full SCORM 1.2 wrapper:
Initialization
Score normalization from 0 to 100
Completion tracking
Session termination
Completion flips only when all five cases and the final assessment are complete.
It deploys into any SCORM 1.2 compliant LMS including Cornerstone, SAP SuccessFactors, or Absorb with full reporting.
Without tracking, it is a demo.
With tracking, it is enterprise ready.
Audio Layer
Audio is treated as infrastructure.
Noir jazz track loop
Ambient rain and city sounds
Managed fade transitions
One click mute
Autoplay safe interaction unlock
Designed specifically for LMS browser constraints.
Final Assessment and Coaching Utility
Upon completion, learners receive:
An Operative Rating from Petty Pickpocket to Master Grifter
A mission log breakdown
A calibrated vulnerability summary
Managers get a behavior driven conversation starter.
You scored Master Grifter. Let’s unpack Case 1.
That is coaching leverage.
Nathan Stoker
I build custom eLearning in Storyline, Rise and JavaScript, and I make the free tools and templates on this site. Need an interaction like this in your course? Let's talk.