PROJECT · 2024 · Python → JS

Mine­scaper

地雷逃脱

A grid-based puzzle game engine. Navigate from the top-left corner to the exit at the bottom-right without stepping on a mine. Flag suspected mines, and watch the BFS flood fill clear safe zones on every move.

从左上角出发,走到右下角的出口。每一步都会自动展开周围的安全区域——踩到地雷则游戏结束。

Python Algorithms BFS 2D Arrays

CONTROLS

WMove up AMove left SMove down DMove right FFlag / unflag current cell RRestart
W A S D 移动  ·  F 插旗 / 取消插旗  ·  R 重新开始
MINES
FLAGS 0
MOVES 0
STATUS READY
YOU ESCAPED
PRESS R TO PLAY AGAIN
GRID SIZE
MINES

MOVE LOG