fertig-classic-games/assets/images
Brian Fertig aa685dc505 The user wants a git commit message based on the provided diff.
**Analysis of the Diff:**
1.  **Binary Files:** `walls.png` and `walls.psd` are updated. This suggests an asset update, likely related to the "wolfenstein" theme mentioned in the paths.
2.  **JavaScript File:** `tools/verifyWolfenstein.js` is modified.
    *   A new test case is added under `section('4. Enemy AI');`.
    *   The test verifies that an enemy (guard) alerts when hit by a projectile, specifically in a scenario where:
        *   Visual detection (LOS+FOV) is blocked/blind (guard facing away).
        *   "Heard gunfire" alert path is blocked (different room/door logic).
    *   The test sets up a specific level layout, forces a door open, fires a pistol, and checks if the enemy's state changes from 'idle' to something else (alerted) and health drops.
    *   It explicitly mentions fixing an issue with `stepDoors` auto-close countdown underflow by setting `timer`.

**Synthesis:**
The primary functional change is adding a test case to ensure that direct hits alert enemies even when other alert mechanisms (vision, sound through doors) fail. The asset changes are likely incidental or part of the same feature branch (Wolfenstein theme).

**Drafting the Commit Message:**
*   **Subject:** Add test for enemy alert on direct hit bypassing vision/sound checks
*   **Body:**
    *   Update Wolfenstein wall assets (PNG/PSD).
    *   Add verification test in `verifyWolfenstein.js` ensuring enemies alert when shot, even if they cannot see the player or hear gunfire through doors.
    *   Fix door timer initialization in the test to prevent auto-close interference during projectile flight.

**Refining for Conciseness:**
Subject: Add enemy hit-alert test and update Wolfenstein assets

Body:
- Update `walls.png` and `walls.psd`.
- Add a test case in `verifyWolfenstein.js` verifying that direct hits alert enemies unconditionally, independent of vision cone or room-based sound alerts.
- Ensure door state is correctly initialized in the test to prevent auto-close interference with projectile simulation.

Let's make it standard conventional commit style if possible, or just clear and descriptive.

**Final Polish:**
Subject: Add test for unconditional enemy alert on direct hit

Body:
Update Wolfenstein wall assets (`walls.png`, `walls.psd`).

Add a new test case in `verifyWolfenstein.js` to verify that enemies alert when directly hit by a projectile, even when visual detection (LOS/FOV) and sound-based alerts (through doors) are inactive. This ensures the direct-hit alert path works independently.

Also fixes door timer initialization in the test setup to prevent auto-close logic from interfering with the projectile simulation.

This looks good. I will provide just the message as requested.
2026-08-22 10:51:42 -06:00
..
advancewars
bloxorz
civilization
gootower
mahjong
originals
peggle
shift
slots
starcontrol
superkart
ta Updated with new unit and better AI 2026-08-17 20:27:48 -06:00
tetrisattack
tutorial-images
vega
wolfenstein The user wants a git commit message based on the provided diff. 2026-08-22 10:51:42 -06:00
zuma
azul-tiles.png
azul-tiles.psd
background-bejeweledblitz.png
background-casino.png
background-jello.png
background-jewelquest-menu.png
background-jewelquest.png
background-jewelquest.psd
background-mahjongmatch.png
background-menu.png
background-mm-01.png
background-mm-02.png
background-mm-03.png
background-peggle.png
background-room.png
background-rushhour.png
background-shift.png
balatro-artwork.png
balatro-artwork.psd
balatro-bossicons.png
balatro-bossicons.psd
balatro-deckbacks.png
balatro-deckbacks.psd
balatro-packs.png
balatro-packs.psd
balatro-planets.png
balatro-planets.psd
balatro-spectrals.png
balatro-spectrals.psd
balatro-tarots.png
balatro-tarots.psd
balatro-vouchers.png
balatro-vouchers.psd
cardbacks.png
cardbacks.psd
catan-pirate.png
catan-robber.png
catan-special-cards.png
catan-special-cards.psd
catancards.png
catancards.psd
catantiles.png
catantiles.psd
dominion-cards.psd
dominion-prosperity.png
dominion-prosperity.psd
dominion-tokens.png
dominion-tokens.psd
dominioncards.png
dungeonboss-bosses.png
dungeonboss-bosses.psd
dungeonboss-deckbacks.png
dungeonboss-deckbacks.psd
dungeonboss-heroes.png
dungeonboss-heroes.psd
dungeonboss-icons.png
dungeonboss-icons.psd
dungeonboss-rooms.png
dungeonboss-rooms.psd
dungeonboss-spells.png
dungeonboss-spells.psd
forbiddenisland-cards.png
forbiddenisland-cards.psd
forbiddenisland-tiles.png
forbiddenisland-tiles.psd
game-icons.png Added Wolfenstein 2026-08-18 19:10:44 -06:00
game-icons.psd Added Wolfenstein 2026-08-18 19:10:44 -06:00
gofish-cards.png
gofish-cards.psd
jello-items.png
jello-items.psd
labyrinth-cards.png
labyrinth-cards.psd
labyrinth-tiles.png
labyrinth-tiles.psd
labyrinth-treasures.png
labyrinth-treasures.psd
main-title.png
monopoly-cards.png
monopoly-cards.psd
monopoly-pawns.png
oldmaid-cards.png
oldmaid-cards.psd
opponents.png
opponents.psd
peggle-sprites.png
peggle-sprites.psd
playfield-combat.png
playfield-fantasy.png
playfield-felt-blue.png
playfield-felt-green.png
playfield-felt-red.png
playfield-starscape.png
playfield-wood-cherry.png
playfield-wood-dark.png
playfield-wood-english.png
playfield-wood-light.png
risk-board.png
spireclimb-act1.png
spireclimb-act2.png
spireclimb-act3.png
spireclimb-cards.png
spireclimb-cards.psd
spireclimb-creatures.png
spireclimb-creatures.psd
spireclimb-rogue.png
spireclimb-rogue.psd
spireclimb-warrior.png
spireclimb-warrior.psd
splendor-cards.png
splendor-cards.psd
splendor-gems.png
splendor-gems.psd
stratego-pieces.png
stratego-pieces.psd
superkart-background.png
swdbg-bases-art.png
swdbg-bases-art.psd
swdbg-cards-art.png
swdbg-cards-art.psd
tab-icons.png
tab-icons.psd
tickettoride-cards.png
tickettoride-cards.psd