DEV Community

Cover image for Dead Keys: I Brought Back the Typing Games. Kiro Did the Heavy Lifting.
Earl Grey
Earl Grey Subscriber

Posted on AI-assisted

Dead Keys: I Brought Back the Typing Games. Kiro Did the Heavy Lifting.

Built via AI with 950 tests in 35 hours

The keys you miss become the lesson.

TL;DR: Dead Keys is my entry for the Kiroween 2026 hackathon, and this post is written as part of it. It rebuilds the 1980s arcade typing games as a keyboard trainer: it counts every key you miss, paints them on a heat map, and builds your next drill around them. Kiro built it spec first, from 19 specs, with hooks, two custom agents, an MCP server and 950 passing tests, in about 35 hours over three days.

I learned to type on a typewriter in middle school. The typing games on our Mac at home are what made me better. A word came at you, and you typed it in time or you didn't. That was the whole lesson, and it worked.

Then I went looking for a number. The National Center for Education Statistics tracks the courses US high school graduates take:

Year Grads who earned keyboarding credit
2000 44.1%
2019 2.5%

Typing classes mostly went away. The keyboard didn't. Kiroween has a Resurrection category, "bring your favorite dead technology back to life," so I brought the games back.

What it does

You can play it right now at dead-keys.vercel.app. No account, and your progress stays in your browser.

An animated loop of the Dead Keys title screen: while the DEAD KEYS panel waits for a key press, words fall toward the player's station and get typed out letter by letter as the game plays itself.

Leave it alone and it plays itself.

Part What happens
Two classic modes Words fall from the top, or close in from four corners, the way the old games did it
The heat map Your keyboard on screen, each key colored by how often you miss it
Drills One button builds a drill weighted toward your red keys
14 lessons Home row first. You pass on accuracy, not speed
Extras A daily drill with the same words for everyone, a ghost of your best run to race, a Spanish word pack, and offline play once it's loaded

The Lessons screen: 14 lessons in rows from 'Meet your keyboard' to 'Common pairs', grouped into home row, top row, bottom row and beyond letters, with Lesson 4 'Top row, index fingers' highlighted and a cream card showing its four steps.
Home row first. Lesson 4 is next because of the misses on t and r.

Falling words mode: the word 'document' is locked in a box with 'do' typed and 'cument' to go, another word 'mean' falls nearby, and a danger zone stripe sits above the player's station.
Falling words. Type them before they land.

The Progress screen: an on-screen keyboard where R and T are striped red for 'focus here' and O is amber for 'practicing', a speed chart over four rounds, and a 'Your top weak keys' panel listing t, r and o with a Drill these keys button.
The heat map. This is sample progress from three scripted warm-up rounds.

Miss a key, see it, drill it. The two-minute demo shows the whole loop:

What the model doesn't get to do

Dead Keys has an optional AI layer. Amazon Nova Micro on Bedrock can write practice lines aimed at the keys you miss. It's off by default, and the game is fully playable without it.

A drill round with the label 'DRILL: BUILT-IN' at the top, the word 'accounts' locked with 'ac' typed, and a note that drills have no lives and no clock.
Every drill says who wrote it. This one is built in.

The code decides which keys are weak, from counts. The code checks every line that comes back: the right characters, the right length, and every word has to be a real English word from a dictionary list. If the model times out, goes over the daily cap, or sends back something odd, the game serves a built-in drill. Every drill says which one you got.

Built spec first with Kiro

Kiro built the core from the specs: the engine, storage, the first screens, gameplay, the drills and the MCP server. It also ran the commits, pushes and deploys from its own terminal. Claude (Opus 5.5) wrote the specs, reviewed each block, and built some of the later features to save Kiro credits.

My favorite part of Kiro is spec-driven development. It keeps me organized. Every block starts as a requirements file, then a design, then a task list with one file per task. I always know where the build is, and so does the agent.

A terminal-style panel titled 'Specs, hooks, steering // .kiro/' listing the files in the .kiro folder next to counts: 19 specs, 279 requirement lines, 165 tasks done, 5 hooks, 5 steering files, 2 agents.
The .kiro folder, counted straight from the repo.

The numbers, read from the repo the day I recorded the demo:

Count
Specs 19
Requirement lines (WHEN ... SHALL) 279
Tasks done 165
Hooks (4 active, 1 retired) 5
Unit and property tests passing 949
axe accessibility scans, issues found 15 scans, 0 issues

The spec said "flag, don't guess"

In Block 1, Kiro wrote the data shapes, the contract that everything else builds against. The spec told it to stop and ask instead of inventing. It came back with ten gaps. What format are timestamps? Can an old save with schema version 0 still load? What stops someone storing a hundred ghosts and filling up the browser's storage? Should the AI be called when there are no weak keys?

Ten small questions, about five minutes of answers, and no rework later. Those questions would have come up without a spec too, just later, as bugs.

The hook that never fired

Hooks run on their own when something happens. The line-cap hook keeps every source file under 150 lines, so no file grows into a monster. We planned it to run after each task.

It never ran. The trigger we picked fires when Kiro's task runner finishes a task, but we were ticking tasks off by editing the task file, so that event never happened. We checked the trigger names against Kiro's hook docs, moved it to fire when the agent finishes a turn, and then proved it. A temporary marker wrote one timestamp per run, and I saw "Run Command Hook line-cap" in the panel myself. Then the marker came out.

Since then, a hook doesn't count until we've seen it run. That day I also found the linter running on defaults across the whole repo, because nobody had written its config file. 47 errors, fixed the same day.

A property test caught what examples wouldn't

Property-based tests throw hundreds of generated inputs at a function instead of a few hand-picked examples. In the engine, one found that the words-per-minute math returned NaN for a tiny enough time, because one step of the division underflowed to zero. None of the example tests used a time that small. Kiro rearranged the math and the test went green.

We also broke a rule on purpose, to prove a property test could fail. It did, with a counterexample, and the rule went back in.

An MCP server for the game's own checks

In Block 15, Kiro built a small MCP server for the repo with two tools. One validates a word pack (1,500 English items and 1,421 Spanish items, both OK). The other runs the AI's golden test set, and only when you pass confirm: true, because that one costs money. It refuses paths outside the packs folder, and a test checks that no secrets or drill text come back.

The first thing it got wrong was ours

Block 6 was the first real screens. Both reviewers recommended failing it, for a title-screen keyboard bug and some accessibility and test gaps. I failed it, but the bigger problem was one no check caught: the screens didn't look like the design we'd locked.

Kiro hadn't done anything wrong. The spec listed the design mock as a "reference," and no task said to match it, so Kiro built a plainer version, and nothing in the checks measured the difference. The gap was in the spec Claude wrote.

It's the second time I've hit this. Last month, on the invoicing app I built for one person, eight slices and an end-to-end test all passed against a plan that was wrong, and I only caught it by using the app myself. What I took from both: passing checks tell me the code matches the plan, not that the plan is right. So this time the fix went into the checks. Each screen's screenshot has to match its mock, side by side, approved by me. The rebuilt screens are the ones in the video.

Two more surprises

The first deploy from Kiro's terminal went straight to production. On a brand-new project, the Vercel CLI made the first deployment production even without the production flag. Nothing secret was in it, so I left the site up, and now every deploy runs a build check first and stays a preview unless I say otherwise.

And the AI connects to AWS without a single access key. The function uses Vercel's OIDC federation to assume an AWS role made for the drill route. There's no key to leak, and the AI drills have a daily cap in the code, because a budget alert only tells you after you've spent the money.

I ran my own tools on it

I build tools that check things, so the last step before submitting was pointing two of them at Dead Keys.

Agentis Lux checks how a site reads to an AI agent that fetches the raw page. Dead Keys scored 97 out of 100. It caught two things: no skip-to-content link near the top, which keyboard users miss too, and two external links without a rel attribute.

README Clew 2 checks a README's claims against the code. At commit fd6bd7c, nothing in the README was contradicted, 6 claims were verified, and 73 were the kind code can't check, like my typewriter story. The fair hit: six dependencies the code uses that the README never names, including the MCP SDK and the AWS SDK.

None of it breaks the game, so all three went on the v2 list.

What it can't do

  • It needs a physical keyboard, and only QWERTY layouts for now.
  • Gameplay is visual. Menus, lessons, results and progress work with a screen reader, and an untimed practice mode is the accessible way to practice.
  • The AI caps are approximate, because each server instance counts on its own.
  • No letter hotkeys yet. Arrow keys, Enter and Escape work on the menus, but a tester on the Kiro Discord didn't find that, and suggested letter hotkeys like P for Play and a quicker sound switch. Both are on the v2 list.

Try it

Play at dead-keys.vercel.app. The code is MIT licensed:

GitHub logo earlgreyhot1701D / dead-keys

A typing game, back from the dead. The 80s typing games MasterType and Type Attack, rebuilt as a real trainer for anyone starting or rebuilding keyboard skills. Accuracy-first lessons, a heat map of your missed keys, adaptive drills, and progress saved only in your browser. Built with Kiro for Kiroween 2026.

Dead Keys

A typing game, back from the dead.

I learned on a typewriter in middle school, and the Mac games at home helped me improve. In 2000, almost half of US high school grads took a typing class. By 2019 it was 2.5%. So I brought the games back.

The number: US high school graduates who earned keyboarding credit fell from 44.1% in 2000 to 2.5% in 2019 (NCES, NAEP High School Transcript Study, Table 1).

Play it: dead-keys.vercel.app

The Dead Keys title screen: after 3 idle seconds the game plays itself, typing falling words in the outer lanes.

Dead Keys rebuilds the 1980s typing games MasterType and Type Attack as a keyboard trainer that notices which keys you miss and drills them. Built with Kiro for the Kiroween Hackathon 2026, category Resurrection.

Two resurrections

MasterType (1981) and Type Attack (1982). Words fall toward you, and you type them before they land. Dead Keys keeps that pressure and the arcade feel, with synthesized sound and a…

Give it a few rounds and the heat map shows you exactly which keys you've been dodging. In the demo they're t and r.

If something breaks or feels off, this short form goes straight to my v2 list. Two playtesters and my own code review all got stuck on the first menu, so I made one fix before judging: when the menu opens, Enter now starts Play. Everything else on the list lands after Kiroween.

Did a typing game teach you to type, or did you never get taught at all? I'd love to hear which one.


Quick context if you're new here. I work in the California courts, running court operations for the county. I started building with AI in July 2025 and have been learning in public since. I build the Clew Suite, civic tech tools that make complex systems easier to inspect.

Written in November 2026 from the repo, its build log and the public docs linked above. These tools move fast, so check the source before you quote me.

AI Assisted. Human Approved. Powered by NLP.

Top comments (26)

Collapse
 
nyaomaru profile image
nyaomaru •

This was really fun! 😸🎮

Having the words come down from the top adds a surprising amount of pressure. I definitely felt that little “TYPE FASTER!!” panic while playing. 😹

The heat map and drills are a really nice touch too.

I had a lot of fun with this. Great job! 🙌

Collapse
 
earlgreyhot1701d profile image
Earl Grey •

Thank you for playing! That makes me incredibly happy @nyaomaru ❤️

That "TYPE FASTER!!" panic is exactly the feeling I wanted to bring back. 😹

Collapse
 
sinarezaei profile image
Sina Rezaei •

One interesting extension would be tracking transition errors instead of treating every missed key independently. For example, someone might have decent accuracy on both t and h, but consistently mistype th as ht. A per-key heatmap wouldn't catch that pattern, whereas a bigram model could flag the transition itself and generate targeted drills around sequences like th, ht, the, and through. That would make the adaptive engine focus on actual motor-pattern weaknesses rather than just individual key accuracy.

Collapse
 
earlgreyhot1701d profile image
Earl Grey •

Great catch, Sina! I didn't consider combinations when I outlined the MVP. Missing t and h on their own is a different problem than flipping "th" into "ht," and a per-key heat map can't see it. Thank you!

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

950 tests for a typing game is a serious count. Spec-first probably kept it from turning into busywork.

Collapse
 
earlgreyhot1701d profile image
Earl Grey •

Thanks! The number surprised me too. The spec kept it from feeling like busywork: every task traced back to a requirement, so each test had a reason to exist. My favorite was a property test that caught a NaN in the words-per-minute math, one none of the hand-picked examples would have hit.

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

A task that already says how it should be done leaves less room for the model to improvise.

Thread Thread
 
earlgreyhot1701d profile image
Earl Grey •

Exactly! Less room to improvise means fewer surprises, hopefully. 🤣

Thread Thread
 
robertpaschal profile image
Odinaka Robert Nnamani •

Fewer surprises, hopefully. The laughing emoji is doing a lot of work there.

Thread Thread
 
earlgreyhot1701d profile image
Earl Grey •

Ha!

Collapse
 
userxnom profile image
Abdullah Naseer •

The number that stopped me was keyboarding credit falling from 44.1% in 2000 to 2.5% in 2019 — that frames the whole game as more than nostalgia. And 949 passing tests across 19 specs is a serious amount of discipline for a typing game. I also liked that the drills are built from the keys you actually miss, rather than a fixed lesson order. One question: with only QWERTY supported for now, how are you thinking about layouts like AZERTY or Dvorak — is that a v2 item, or a bigger rebuild of the heatmap and lessons?

Collapse
 
earlgreyhot1701d profile image
Earl Grey •

Yes, it's kind of shocking but interested, too! I was very surprised but anecdotally I have seen newer staff members with less developed typing skills.

Great question! Right now the keyboard, the heat map, and the lesson rows are all drawn for US QWERTY. The Spanish pack works by asking players to use US-International. I did think about other layouts when I wrote the PRD, and I like the idea. Since the lessons are built around QWERTY rows, though, it'd be more than a quick switch. Once the hackathon ends, I'm always open to collaborating on features!

Collapse
 
kling4ai-production profile image
Kling4 AI •

Seeing US high school keyboarding credits drop from 44.1% in 2000 to 2.5% in 2019 explains a lot—and gating the 14 lessons on accuracy instead of raw WPM before building drills around red heat-map keys makes way more sense for fixing muscle memory.

Collapse
 
earlgreyhot1701d profile image
Earl Grey •

Thank you! That stat stopped me too. Gating on accuracy first felt like the right move, because speed built on bad habits just locks the habits in.

Collapse
 
sarvesh_3bcf0f427a27e1849 profile image
Sarvesh •

Bringing back the fun of old typing games while helping people improve is such a good use of the Resurrection theme. Really like this idea!

Collapse
 
earlgreyhot1701d profile image
Earl Grey •

Thank you! The Resurrection theme was the perfect excuse to bring these back. I miss how simple these games were: fun to play, with real stakes, and no complicated storyline to keep track of.

Collapse
 
medhakamath profile image
medhakamath •

Love seeing classic typing games brought back! Shipping a playable build and sharing the process is the best way to test tools like Kiro under real constraints. Congrats on getting it live!

Collapse
 
earlgreyhot1701d profile image
Earl Grey •

Thank you, Medha! It was so fun bringing back the games I learned on. Getting it live meant people could play it, and their feedback already led to one fix.

Collapse
 
emilywoodsnyc profile image
Emily Woods •

The hook that never fired is the detail I’ll remember. I’d want a tiny deliberate violation for every new hook, not just a green config file. The adaptive-drill loop also translates well to practice questions, identify the specific mistake, choose the next question around it, then check whether it comes back on a fresh problem.

Collapse
 
raviblogger profile image
Ravi Kumar •

The lesson that stuck with me is the one about the mock being called a "reference," so the build passed every check and still didn't match the design. Green tests only prove what you thought to check. The hook that never fired makes the same point: automation you haven't watched run is just a guess. The property test catching NaN WPM at tiny times is a great example of why generated inputs beat hand-picked ones. And making the AI optional and off by default for a typing trainer is the right call. The game shouldn't depend on it. Lovely resurrection. MasterType nostalgia hit hard.

Each point comes from the post: the screens didn't match the locked design because the spec called the mock a "reference" and no check compared them; a line-cap hook never ran because its trigger never fired, and a generated-input test found that the words-per-minute math returned NaN for very small times; and the AI layer is off by default, and the game works fully without it.

Collapse
 
wordforge_jp profile image
WordForge •

ヒートマップで間違えたキーだけを可視化し、赤いキーに重みを付けたドリルを自動で作る流れが、とても筋が通っていると感じました。14のレッスンで速さではなく正確さで合格にする設計も、初心者が焦らず続けられる理由になっていると思います。スペイン語パックが1,421語ある点も興味深く、英語とスペイン語で同じドリル生成の仕組みがどう振る舞うのか気になりました。キーボーディングの単位取得率が2000年の44.1%から2019年には2.5%まで下がった数字も、タイピングを改めて学ぶ意味を考えさせられました。