Program
WORDLE — Lexical Hazard Edition
Author
Nicholas Valdez
Date
March 2026
Class
CS4ALL — Mr. Manuel
Taos High School
This program is a browser-based recreation of the word game Wordle, built
entirely in a single HTML file using HTML, CSS, and JavaScript with no
external libraries.
The player has 6 attempts to guess a hidden 5-letter word. After each
guess, tiles reveal whether each letter is correct and in the right
position (green), correct but in the wrong position (yellow), or not in
the word at all (grey).
The game features a progressive damage system — each wrong guess cracks
the screen, tilts the display, corrupts the keyboard, and intensifies
visual glitching. Fail all 6 attempts and the screen shuts down like a
dying CRT monitor. Guess correctly and the system reboots, clearing all
damage for the next round.
Additional features include synthesised audio (mechanical key sounds,
ambient drone, heartbeat tension), a SUPERHOT-style boot sequence, a
virus takeover tutorial, win streaks, dead pixels, phosphor glow, and a
CRT barrel distortion filter — all generated procedurally with no
external assets.