feat: tunnel implementation, pathfinding debug mode

This commit is contained in:
2025-07-22 14:37:26 -05:00
parent 0a46f64866
commit 6d3d3bf49c
5 changed files with 186 additions and 70 deletions

View File

@@ -32,6 +32,8 @@ pub enum MapTile {
PowerPellet,
/// A starting position for an entity.
StartingPosition(u8),
/// A tunnel tile.
Tunnel,
}
/// The raw layout of the game board, as a 2D array of characters.
@@ -50,7 +52,7 @@ pub const RAW_BOARD: [&str; BOARD_HEIGHT as usize] = [
" #.## 1 ##.# ",
" #.## ###==### ##.# ",
"######.## # # ##.######",
" . #2 3 4 # . ",
"T . #2 3 4 # . T",
"######.## # # ##.######",
" #.## ######## ##.# ",
" #.## ##.# ",