YAMLabyrinth skeleton v0.0.1

This commit is contained in:
2026-05-21 16:46:14 +03:00
commit aa9cb6ea53
14 changed files with 1650 additions and 0 deletions

7
src/levels/l01.md Normal file
View File

@@ -0,0 +1,7 @@
First level is to open the dungeon door - write a small valid YAML file.
Example game input: A small valid YAML file
Example player response:
---

5
src/levels/l02.md Normal file
View File

@@ -0,0 +1,5 @@
Second level is key-value pairs. The game generates few directions on the dungeon.
left: door
straight: door
right: tunnel

11
src/levels/l03.md Normal file
View File

@@ -0,0 +1,11 @@
Third level is dictionaries. Each direction now leads to a feature with its own properties.
left:
type: door
locked: true
right:
type: tunnel
depth: 10
straight:
type: wall
depth:

9
src/levels/l04.md Normal file
View File

@@ -0,0 +1,9 @@
Fourth level is lists. A chest of loot lies open before you.
chest:
- sword
- torch
- rope
- bread
Randomize the items in the list

0
src/levels/mod.rs Normal file
View File