feat(grid): map YAML schema, 5-10-5 grid, Dijkstra movement, corner LoS/cover

This commit is contained in:
2026-08-17 22:49:50 +02:00
parent 6ad37ae9ec
commit 21698d76c6
7 changed files with 780 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
name: "Arène d'essai"
square_size_ft: 5
terrain: |
####################
#......######......#
#..C...######...C..#
#......~..~........#
#..TT..~..~...TT...#
#......~..~........#
#..C............C..#
####################
legend:
"#": { type: wall, move_cost: null, blocks_los: true }
".": { type: floor, move_cost: 1 }
"T": { type: rubble, move_cost: 2 }
"~": { type: water, move_cost: 2 }
"C": { type: pillar, move_cost: null, cover: true }
elevation: |
....................
..1111..............
..1111..............
....................
....................
....................
....................
....................
zones: |
....................
.AAAA..........BBBB.
.AAAA..........BBBB.
....................
....................
....................
....................
....................
markers:
autel: [1, 16]
brasier_ouest: [6, 5]
brasier_est: [6, 14]
deployment:
players: A
monsters: B