A keyboard-first monster-battler, and the first plugin game built on the Typejoy typing framework.
Type the glowing key in rhythm to attack. Correct keystrokes drive the battle; the typing loop is the combat system rather than a layer over it.
- Demo entry point:
demo/index.html - No build step, no dependencies — it is a static ES-module app.
- Requires a physical keyboard (there is no touch control path).
ES modules will not load over file://, so serve the folder over HTTP:
# from the repository root
python3 -m http.server 8000
# then open:
# http://localhost:8000/demo/Open demo/index.html through that server, click START, and play.
Overworld
| Input | Action |
|---|---|
Arrow keys / W A S D |
Walk |
Enter or Space |
Interact with the tile you are facing (doors, cave mouths, signs, tunnels, NPCs) |
C |
Open the collection |
Battle
| Input | Action |
|---|---|
| The letter shown on the glowing key | Attack the enemy — type it in time with the beat |
Space |
Advance to the next word (spaces are charted notes; resting on one is never punished) |
| A wrong letter | Dodge — it costs you tempo, it never drains HP |
Timing grades the hit: Perfect is a critical, then Great, then Good. Miss the beat and the enemy strikes. Hit streaks charge the ultimate and the capture throw.
Battle menus (press the number, or click)
| Input | Action |
|---|---|
1 2 3 |
Pick an attack move |
4 |
Throw a SNARE — attempt capture (wild battles only) |
5 |
Switch active monster mid-battle (costs a turn) |
6 |
Open the bag |
Esc |
Back out of a submenu |
Bag items — TONIC restores 30 HP, SNARE captures at +35% odds, SLOW DIAL slows the next typing word without costing a turn. Items are spent from the bag and persist in the save.
Dialogue — Enter/Space advances, Esc closes.
Menus
| Input | Action |
|---|---|
1 2 3 (or click) |
Pick your starter |
1–9 |
Switch active monster in the collection |
C or Esc |
Close the collection |
- Pick a starter — one of three original monsters.
- Explore the island — Ember Rest (your hut, Gramps, signs), Route A, Stone Cave, and Ember Ridge. Walking in tall grass triggers wild encounters from the zone's own table.
- Battle — type each attack word in rhythm; the enemy attacks back only on your misses, never on a hidden timer. Damage folds in move power, timing grade, an original 18-type effectiveness chart, and STAB. Flawless words hit harder.
- Catch — weaken a wild monster, then throw a SNARE on a
good/great/perfecthit. - Challenge trainers — Pip, Sage, and Ridge Keeper Maro fight fixed multi-monster teams in sequence; beating Maro completes the game.
- Beat the cave boss to unseal the crystal tunnel to Ember Ridge.
Progress (collection, XP, items, trainer flags, route clears) is saved to
localStorage, so a refreshed tab resumes.
The domain layer is pure and dependency-free:
node tests/run.mjs # exits non-zero on failureVerified state: 140 passed, 0 failed (exit 0). The suite covers the monster registry, the type chart, items, NPCs/trainers, the ridge encounter tables, the route/encounter tables, capture odds, XP/levels, the overworld tile logic, and the save-file schema.
There is also a scripted in-browser smoke run that drives the whole arc:
http://localhost:8000/demo/index.html?autoplay=1
It walks world -> encounter -> victory -> XP/save -> node-clear -> world -> a
second battle and reports AUTOPLAY-DONE 37/37 with no failures — useful as a
served-surface check after any deploy.
Typemon is a consumer of the Typejoy framework — it composes the framework's
createSession() API and GamePlugin hook set and never extends or patches it.
- Framework: Typejoy — https://github.com/ahrazzle/typejoy
- The pinned copy used by the demo lives at
demo/vendor/typejoy.jsand is redistributed unmodified. sha25626c6cc78130da271117fb20c170bee147d6698dd7f60a4404a92ef77b7292893 - Typejoy is the work of its own authors and remains under its own license; this repository claims no ownership of it. See the upstream repository for its license and terms.
All Typemon monsters, move names, and typing rules; the story and route; the art direction; the game code; and the UI are original work created for this project. No Pokémon, Showdown, or other third-party species, moves, stats, or sprites are copied or referenced — the only third-party material in the repo is the asset island described below, plus the unmodified Typejoy vendor copy.
| Path | License |
|---|---|
Everything except assets/ccbysa/** |
MIT — see LICENSE |
assets/ccbysa/** |
CC BY-SA 4.0 — see assets/ccbysa/LICENSE |
assets/ccbysa/** is a third-party asset island (monster sprite art, type
icons, and battle backgrounds) sourced from
OpMonTeam/OpMon-Data and licensed
under Creative Commons Attribution-ShareAlike 4.0 International. It ships
beside the MIT engine as a distinct layer, and it is deliberately licensed
separately:
- Attribution: the per-file SHA-1 ledger is
assets/ccbysa/ATTRIBUTION.md. - Share-alike: any adaptation or redistribution of those files must stay under CC BY-SA 4.0 and keep that attribution. Do not relicense them as MIT.
- Independence: original Typemon content never references that island — the
build asserts that no original monster points into
assets/ccbysa/**. - One exception: the single shipped audio track
assets/ccbysa/audio/8bit-battle.oggis CC0-1.0 (public-domain dedication, credit Ted Kerr / Wolfgang_), not CC BY-SA.
If you reuse this repository, treat the assets/ccbysa/** folder under
CC BY-SA 4.0 and everything else under MIT.
The demo is written to work when served from a repository subpath, e.g.
https://<user>.github.io/<repo>/, not only from a domain root. All references
inside demo/index.html are relative (./vendor/typejoy.js,
../assets/ccbysa/...); there are no absolute /... paths and no file://
URLs, so the pages resolve correctly under a subpath.
- Publish from the repository root and open
<site>/demo/(or<site>/) to play. The rootindex.htmlis generated fromdemo/index.html— never edit it by hand; regenerate withnode scripts/sync-root-index.mjsafter changing the demo. - Keep
demo/index.htmlanddemo/vendor/together: the vendor import is relative to the page. - Asset paths are prefixed
../relative to the page, so movingdemo/index.htmlto a different depth will break the assets — keep the folder structure or adjust the prefix. - The served
demo/index.htmlships cache-busting meta; after a deploy, confirm the live bytes match the committed file before trusting a stale cached page.