YAMLabyrinth skeleton v0.0.1
This commit is contained in:
7
src/levels/l01.md
Normal file
7
src/levels/l01.md
Normal 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
5
src/levels/l02.md
Normal 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
11
src/levels/l03.md
Normal 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
9
src/levels/l04.md
Normal 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
0
src/levels/mod.rs
Normal file
Reference in New Issue
Block a user