LogSource/arise-source/en/software/katas/blind-monster-kata/index.md
Jose Falanga 57a9445b9c
Some checks failed
Deploy Arise to html branch / Deploy Arise (push) Has been cancelled
moved stuff around
2025-11-05 00:48:11 -03:00

1.5 KiB

Blind Monster Kata

Constrains

Mute Ping Pong

Rules

Write the core system of game, with the following rules:

  • There is a human in a room.
  • The room is represented throug a grid of tiles of arbitrary size.
  • The human starts in an arbitrary place in the room.
  • The human can move anywhere in the room.
  • The goal of the human is escaping the room. This is done by reaching the tile adjacent to the door.
  • The human makes noise while moving, but is silent if crouches.
  • Crouching makes movement 2x slower. If takes one second to move between 2 adjacent tiles, moving while crouching takes 2 seconds.
  • The passage of time is represented with a turn-based system. Each turn represents the same amount of time (eg: one sencond)
  • There is a monster in the room. The monster is blind, but can hear very well.
  • The monster starts at the tile adjacent to the door.
  • The monster is searching for the human. Will go to any tile where there is sound, at twice the walking speed the human has.
  • If the monster is in an adjacent tile with the human, will hear the heartbeat and localize it immediatly. Doing so will attack and kill the human.