show level count for each chapter
This commit is contained in:
parent
42dfe4fac7
commit
8b62aec760
2 changed files with 22 additions and 61 deletions
48
README.md
48
README.md
|
@ -35,11 +35,8 @@ logic mostly like https://git.crispypin.cc/CrispyPin/marble
|
|||
```
|
||||
- assets/
|
||||
- levels/
|
||||
- 01_intro/
|
||||
- 01_output.json
|
||||
- 02_cat.json
|
||||
- 02_lists/
|
||||
- 02_parse.json
|
||||
- chapter_01.json
|
||||
- chapter_02.json
|
||||
- sandbox.json
|
||||
- user/
|
||||
- solutions/
|
||||
|
@ -52,46 +49,7 @@ logic mostly like https://git.crispypin.cc/CrispyPin/marble
|
|||
- blueprints
|
||||
- blueprint_0.json
|
||||
```
|
||||
## formats
|
||||
### level
|
||||
`00_zeroes.json`
|
||||
```json
|
||||
{
|
||||
"id": "output",
|
||||
"sortorder": 5,
|
||||
"name": "Zeroes",
|
||||
"description": "learn how to output data",
|
||||
"init_board": "<optional, serialized board>",
|
||||
"stages": [{
|
||||
"input": [],
|
||||
"output": [0, 0, 0, 0, 0, 0, 0, 0],
|
||||
}]
|
||||
}
|
||||
```
|
||||
### solution
|
||||
`00_zeroes/solution_0.json`
|
||||
```json
|
||||
{
|
||||
"level_id": "00_zeroes",
|
||||
"solution_id": 0,
|
||||
"name": "unnamed 1",
|
||||
"board": "oo\nP*\n|-",
|
||||
"score": {
|
||||
"cycles": 8,
|
||||
"tiles": 6,
|
||||
"area": 6,
|
||||
}
|
||||
}
|
||||
```
|
||||
### blueprint
|
||||
`blueprints/blueprint_0.json`
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"name": "zero_printer",
|
||||
"board": "o -B I\n> * < \n"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## levels
|
||||
### intro, basic mechanics
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue