hitting and missing

The hero's attacks, and monsters fighting each other. A message, no motion.

The terminal shows this in words, not as a letter.
Terminal
When the hero attacks, their letter turns to face the target and lunges at it, then eases back.
Codex: from a builder's report

Builtneeds review5 changes builtSeen all the timeLast touched November 28, 2026: a change of its own was written or changed. Commit 05a7d225a.

In the terminal

One message per attack: hit ("You hit the jackal!"), miss ("You miss the jackal."), kill ("You kill the jackal!"); the punctuation tells the damage: a hit for 4 or less ends with '.', more with '!'. Weapon specials add lines ("The silver sabre sears the imp!"), artifacts their own. Attacking a peaceful asks "Really attack the peaceful dwarf? [yn] (n)"; an unseen target is remembered as I.

Quotes from NetHack

return (const char *) ((force < 0) ? "?" : (force <= 4) ? "." : "!");
src/zap.c:3552, exclam(): the end of a hit message; '?' for negative force
1 more quote
Really attack <the peaceful dwarf>?
src/uhitm.c:318, paranoid_confirmation:attack (hit) asks it

Decisions

Of the animation ideas, the director picked 9, 10, 12, 15 and 34. The rest wait.

Codex draws it
Full text

Notable moments beyond those built: the director picked 9, 10, 12, 15, 34 (N-32…N-36); the rest still wait.

Backlog decisions: N-3

In Codex

A blow NetHack ends with ! lands harder, shoving the monster back as it shudders.

BuiltReaction to an event

Details

N-80 (D-129: "Yes, scale with the mark"): NetHack ends the hero's hit line with ! when the blow did more than 4 damage to a monster the hero sees, and with a period otherwise (uhitm.c's hit line, exclam() in zap.c). On a ! the target's shudder (codex.recoil) rides one smooth shove back along the blow, out quickly and back slowly, so at its furthest the letter stands four times as far as a shudder takes it, and the lunge (codex.lunge) reaches a fifth further, over the same time: the hero's letter stays clear of the monster's, and nothing flips from frame to frame (a larger shudder alone did, at 30 frames a second); a period plays them as designed. An unseen monster ("You hit it."), a player with verbose off ("You hit it.") and a kick ("You kick the jackal.") always end with a period, so they are never hard: nothing shows that the terminal does not.

Id
codex.hard_hits
Exact state
Built
Settings
animations.hard_hit_strength
Code
crates/nh-moments/src/lib.rs, crates/nh-plays/src/recoil.rs, crates/nh-plays/src/starts.rs, crates/nh-plays/src/hero/motion.rs, crates/nh-knobs/src/animations/hard_hits.rs
N-80Built, not reviewedHard hits look harder
N-32Done6 | Animation 9:

A killed monster's letter falls over away from the hero, lies flat and sinks into the floor.

Builtneeds reviewTransition

Details

Animation 11 (N-89; the director, 2026-10-31: "The monster letter should fall away from the hero when killed."): when the map first shows the letter of a monster the hero killed gone from its square, a copy of that letter (its character and color as the terminal drew them, never the species), or of the player's own form that stood in for it there (D-79, as it stood: "The face should knock over, not the d"), or with the picture painted inside its letter, as far in as it stood (N-348, when the letter and its color are the ones the game took away; its plates frozen, the torch still shading them), stands where it stood and falls over away from the hero, in every view, gathering speed on the door fall's curve (codex.door_fall), lies flat a moment, then shrinks away on an S-curve where it lies, sinking no deeper than its own thickness until it is gone (N-202's review: it went under the floor whole), in kill_topple_seconds (0.7) in all. When the game's word is "destroy" (mon.c says it of what is not living, uhitm.c of anything when verbose is off) it sinks straight down instead. After the hero's blow it stands still until the lunge lands, a third of the way in, as the recoil does; a thrown, fired or zapped kill falls at once. In the high views (the map view, the director's wide shot) the copy stands as every letter there stands, leaned back toward the camera and grown (codex.letters_from_above), and falls from there until its top points away from the hero: onto its back when it falls away from the camera, turning in its own plane and still facing the camera when it falls to one side, about its lowest corner on the side it falls toward so it keeps its lowest point where it stood and never goes into the floor; so the fall reads from above and is not hidden behind the corpse's leaning letter (N-218); lying back past 45 degrees it casts no shadow, as they don't. The square shows what the game draws there (a corpse, an object, the floor) from that frame; the copy is drawn over it and hides nothing. Force, not magic: no light (D-51). It hurries while keys are queued. nh-moments decides where (Moment::Fell, D-27), in looks, not seconds: the blow's square, or after a direction was given (t, f, z, a kick, apply) the first square along that line whose monster letter went, only when the words name what died ("You kill it!" was unseen); looked for in the look of the words and the next, never past the next command; a letter that glided away did not go, another letter on the square means nothing falls, and a beam, an explosion or an engulfer drawn over it is not its going; the line stops at a wall or a closed door, and when more letters went on it than kills were told, none falls. Nothing falls while the status line shows Conf or Stun (cmd.c may turn the direction), after "... medallion begins to glow!" (life saving), or for a blow's words after the hero stepped (a kill in the monsters' turn). Others' kills the hero saw fall too (N-202, D-129: "Yes, they fall too"): "The jackal is killed!" or "is destroyed!" (mon.c's monkilled, said only when the hero sees the square, and the places that word another's kill the same way), at the one square of the map whose change nothing else explains (no glide, no step of the hero's, no kill of the hero's), when a monster letter went there, in the look of the words or the next, away from the hero, at once (no lunge to wait for); when more than one square changed so (a letter that stepped out of view, a vampire that rose, the hero's steed, a disguised mimic, a pet on its kill's square), or the game waits at --More-- before drawing the dead letter gone, nothing falls. "The web is destroyed!", "A potion is destroyed!" and any "It is ..." (a monster the hero cannot see) are no monster's kill.

Id
codex.kill_topple
Exact state
Built, not reviewed
Playtests
journey-game
Settings
animations.kill_topple, animations.kill_topple_seconds
Code
crates/nh-moments/src/catalog.rs, crates/nh-moments/src/lib.rs, crates/nh-moments/src/kills.rs, crates/nh-moments/src/catalog/happened/monkilled.rs, crates/nh-plays/src/topple.rs, crates/codex-client/src/draw/kills.rs, crates/codex-client/src/draw/letters.rs, crates/nh-plays/src/shot/compose.rs, crates/nh-plays/src/underway/forms.rs, crates/codex-client/src/draw/figures.rs
N-89DoneA killed monster's letter falls over
N-202Built, not reviewedOthers' kills fall over too
N-3DoneNotable moments beyond those built:
N-99DoneLetters in view
N-218DoneA kill seen from above falls where it can be seen
N-347DoneA monster drawn inside its own letter
N-348Built, not reviewedA killed hound falls as its plain letter

When the hero attacks, their letter turns to face the target and lunges at it, then eases back.

BuiltReaction to an event

When the hero attacks, their letter turns to face the target and lunges at it, then eases back.
Details

Animation 9, the hero's half (N-32): on a recognized hit, miss or kill by the hero's blow the hero turns to face the square attacked and lunges toward it, out quickly and back slowly (lunge squares over attack_lunge_seconds); in first person a little of the lunge carries the eye. A kill by a throw, a zap or anyone else is no lunge (N-89), nor is a kick at an altar, a fountain or a throne (X-574): only the kick's swing plays. A kick at a monster ("You kick the jackal.") turns the hero to the square kicked and lunges at it, as a sword blow does: the square is the player's own answer to "In what direction?" (X-630, D-127); a hero whose form kicks by moving keeps the move's square.

Id
codex.lunge
Exact state
Built
Playtests
journey-game
Settings
animations.attack_lunge, animations.attack_lunge_seconds, animations.lunge_strength
Code
crates/nh-moments/src/catalog.rs, crates/nh-moments/src/lib.rs, crates/nh-moments/src/command.rs, crates/nh-moments/src/kick.rs, crates/nh-plays/src/hero/gesture.rs, crates/codex-client/src/pov.rs, crates/nh-knobs/src/animations/lunge.rs
N-32Done6 | Animation 9:
N-3DoneNotable moments beyond those built:

When two animations meet on one thing, a move catches up to the game and a reaction plays on top.

Builtneeds reviewTransition

Details

D-81 (X-81): every animation either changes a thing (a monster's walk, a door swinging, a door falling, the tombstone rising, the mist's fade, a thrown thing's flight, a kill's fall) or reacts on it and comes back to rest (a flinch, a kick's shudder, a rattle, a strain, a tug, the light, the washes). When a new one reaches a monster or a door while a change is still moving it, that change hurries to where the game now has it over catch_up_seconds (0.1), along its own curve, never jumping, and the new one starts at once on top of it: a blow on a monster still sliding lands as it arrives, the flinch riding on the last of its slide; a kick on a door still closing slams it home before the boot lands (0.2 s), then shakes it in its shut place (the director, 2026-11-08: "whatever is the most realistic in terms of interaction is the way to go", X-99). A reaction is an offset from wherever the changes have the thing, so a shudder shakes a door where its swing has it and the cut from high up cuts a shaking door as every other (X-101). Two reactions of one kind add up as far as reaction_stack (2) times one: a second blow during a flinch flinches again and both read; ten do not throw the letter across the room. A monster that flinches and then steps keeps flinching as it walks. Two changes on one thing play one after the other in the game's order, only the last two kept. The game's later word in one look still takes the place of its earlier one (two blows in one look flinch once). Each altar keeps its own light: a second altar's flash in one look no longer puts out the first (Danny, 2026-11-09). Only what the game showed starts any of it; the drawing is what the game says now or on its way there, never moving away from it.

Id
codex.plays_meet
Exact state
Built, not reviewed
Playtests
journey-game, plays-meet
Settings
animations.catch_up_seconds, animations.reaction_stack
Code
crates/nh-plays/src/lib.rs, crates/nh-plays/src/compose.rs, crates/nh-plays/src/flash.rs, crates/nh-plays/src/light.rs, crates/codex-client/src/draw/in_flight.rs, crates/codex-client/src/draw/doors.rs
X-81Built, not reviewedWhen plays meet, built
X-99Built, not reviewedWhen plays meet on a door, today's rules to look at with X-81
X-101Built, not reviewedA shaking door writes all of where it is

A monster hit by the hero shudders, and one the hero misses sidesteps and comes back.

BuiltReaction to an event

A monster hit by the hero shudders, and one the hero misses sidesteps and comes back.
Details

Animation 9, the target's half (N-32): when the lunge lands (a third of the way in), a hit target's letter shudders along the blow and settles; a missed one sidesteps (twice the recoil) and comes back. Only on the square the game says was attacked, only after the message that says so.

Id
codex.recoil
Exact state
Built
Playtests
journey-game
Settings
animations.target_flinch, animations.attack_lunge_seconds
Code
crates/nh-plays/src/recoil.rs, crates/nh-plays/src/lib.rs, crates/codex-client/src/draw/in_flight.rs
N-32Done6 | Animation 9:
N-3DoneNotable moments beyond those built:

Accepted pictures and playtests

Playtests: journey-game, plays-meet

Planned and proposed

In progress A swing that dies, gathering speed and arriving, and an envelope that can be held.

Asked for in these words: “Danny, 2026-11-14 (D-102, N-512, X-339): "I really want us to discern these from first principles so they're useful for the whole backlog's animation needs."”

Left to do: A swing that dies, moved onto when a kind is next changed, and an envelope in seconds that can be held.

In progress A thing's motion as steps on the parts of its pose, with landmarks another play can start at.

Asked for in these words: “Danny, 2026-11-14 (D-102, N-512, X-341): "I really want us to discern these from first principles so they're useful for the whole backlog's animation needs."”

Left to do: A step that names a piece of a thing, such as a door's handle or a kicking hero's lower half.

Details for builders

Id: melee. Lexicon subjects: moment.melee.

Design notes from NetHack

The hit message ends with '.' for 4 damage or less and '!' for more.

'You kill the jackal!', or 'You destroy' for nonliving monsters; the glyph gives way to a corpse or the floor.

Backlog rows

N-80Built, not reviewedHard hits look harder
N-32Done6 | Animation 9:
N-89DoneA killed monster's letter falls over
N-202Built, not reviewedOthers' kills fall over too
N-3DoneNotable moments beyond those built:
N-99DoneLetters in view
N-218DoneA kill seen from above falls where it can be seen
N-347DoneA monster drawn inside its own letter
N-348Built, not reviewedA killed hound falls as its plain letter
X-81Built, not reviewedWhen plays meet, built
X-99Built, not reviewedWhen plays meet on a door, today's rules to look at with X-81
X-101Built, not reviewedA shaking door writes all of where it is
X-339Built, not reviewedThe missing curves
X-341Built, not reviewedA thing's phrase and its landmarks