Project Overview
What Captcha Chaos is and how it was engineered
Captcha Chaos is a statically hosted, interactive web game developed as part of the SET08101 Web Technologies coursework at Edinburgh Napier University, UK. Built entirely with pure vanilla technologies—HTML5, CSS3, and JavaScript (ES6+)—the project gamifies the ubiquitous "I am not a robot" security check into an escalating test of human patience and perception. Players navigate dynamic 3x3 and 4x4 image grids, manage tightening timers, dodge unfair deceptive trick rounds, and endure humorous robot skepticism while the client-side engine calculates a live Human Probability Score.
The project highlights advanced client-side software engineering principles, including a decoupled state machine
bridging multiple pages via sessionStorage and localStorage, an integrated Web Audio synthesis
engine, responsive CSS Grid layouts, full keyboard accessibility (Tab, Space, Enter),
and rigorous engineering documentation including Work Breakdown Structures (WBS), Gantt scheduling, sitemaps, and wireframes.
Interface & Design Artifacts
Visual walkthrough and software engineering specifications
Key Features
Interactive mechanics and technical systems
Escalating Difficulty Gauntlet
Three distinct difficulty modes: Casual (4 rounds, forgiving timer), Chaos (5 rounds, trick prompts), and Nightmare (6 rounds, brutal timers, 4x4 grids).
Deceptive Trick Rounds
Simulates devious security tests where zero matching items exist on the board, requiring players to submit empty selections without second-guessing.
Dynamic Human Probability Meter
Real-time probability engine evaluates click accuracy, streak performance, and speed to calculate live human percentages with witty robot dialogue.
Web Audio Ambience & Sound Effects
Built-in sound engine providing auditory feedback for tile toggles, round victories, time penalties, and optional background music with user consent.
Dual-Storage State Architecture
Active gameplay runs survive page reloads using sessionStorage, while all-time verification analytics and audit runs persist via localStorage.
Accessibility & Keyboard Navigation
Full keyboard support (Tab navigation, Space selection, Enter submission), ARIA live region announcements, and responsive design.
Tech Stack
Built exclusively on foundational web standards
HTML5 Semantic
Clean structural markup utilizing semantic tags, landmarks, and ARIA attributes for robust accessibility.
CSS3 & Grid
Custom CSS properties, responsive 2D CSS Grid layouts, glassmorphism panels, and dark/light mode themes.
JavaScript (ES6+)
Modular vanilla JavaScript handling state management, Fisher-Yates shuffling, timers, and storage sync.
Web Audio API
Browser-native audio synthesis and multi-channel sound effect triggers for real-time auditory feedback.
Engineering & Coursework Architecture
Academic coursework design and software engineering methodology
/* ====================================================================
* PROJECT: Captcha-Chaos (Interactive Client-Side Web Application)
* MODULE: SET08101 Web Technologies
* DEGREE: BSc in Computing | Edinburgh Napier University
* ==================================================================== */
D:\GitHub\Captcha-Chaos\
├── index.html # Hero landing, difficulty selector, high-score stats
├── game.html # Core verification gauntlet & real-time human meter
├── result.html # Verdict review, probability analysis & round recap
├── report.html # Verification analytics & browser audit history
├── js/
│ ├── base.js # Central state machine, audio engine, difficulty matrix
│ ├── game.js # Grid generator, shuffle logic, round timer & scoring
│ ├── index.js # Mode selection, settings persistence & quick stats
│ ├── result.js # Outcome evaluator, probability grading & score logging
│ └── report.js # Historical data visualization & audit archive
├── css/ # Modular stylesheets (base, index, game, result, report)
├── sounds/ # Low-latency SFX & background audio ambience
└── project plan/ # WBS, Gantt Schedule (.mpp, .xlsx), Site Map, Wireframes
Academic Integrity Notice: This project was authored as assessed academic coursework for Edinburgh Napier University. To uphold strict academic integrity policies and prevent plagiarism, the underlying source code is maintained in a private repository. However, the fully compiled, production-ready application is publicly accessible and deployed via GitHub Pages for demonstration.
Think You Can Prove You're Human?
Test your reflexes against Captcha Chaos or get in touch to discuss modern front-end engineering, interactive client-side systems, and responsive web development.
❤️ Built with vanilla web technologies