From 69e2322b5a1dd3bd15ffe36e8ebdd5732f906399 Mon Sep 17 00:00:00 2001 From: Marianne Chevrot Date: Tue, 19 May 2020 20:49:59 +0200 Subject: Correct readme --- readme.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/readme.rst b/readme.rst index 40391a5..dcac5e8 100644 --- a/readme.rst +++ b/readme.rst @@ -8,8 +8,9 @@ kana in this form: - empty -Level file are store in `kana_quest_level`. Format is yaml. +Level files are store in `levels`. Format is yaml. Example file `level_XX.XX.yaml`:: + # kana quest grid level XX.XX size: [3, 2] max_actions: 1 @@ -19,11 +20,14 @@ Example file `level_XX.XX.yaml`:: [froz, ne ], [empt, null], [rock, 'no'], ] + **WARNING** in level file definition: The kana 'no' need to be protected else the program convert it into False... Run:: + ./solver.py kana_quest_level/level_4.6.yaml ./solver.py -p kana_quest_level/level_4.6.yaml + ./solver.py --print kana_quest_level/level_4.6.yaml ./solver.py -h -- cgit v1.2.3