Skip to content

Game doesn't end when checkmated in Warped Coast #450

@QuickBanjo

Description

@QuickBanjo

HyperRogue version: 13.0a
Operating system: Android 16

Setup:

  1. Start a new game of HyperRogue classic.
  2. Find a Warped Coast.
  3. Become unable to move without getting killed.

Expected behavior:

When the player becomes unable to move, they are checkmated, and the game ends.

Actual behvaior:

The player cannot move, but the game does not end. See attached example. In this example, the boat is adjacent to the player's hex and out of range of the Ratling. The player cannot move onto the boat due to Warped Coast rules, as intended, yet the game does not recognize this as checkmate.

In checkmove.cpp, I did not see any obvious checks for this edge case, and I suspect this may occur even without a boat or water.

Click to view screenshot Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions