kaka.farm

Unnamed repository; edit this file 'description' to name the repository.
git clone https://kaka.farm/~git/kaka.farm
Log | Files | Refs | README

commit 81c914c434173e332af1ff9a0effa57d6bdcc177
parent 60d687c12c46261ddba7d3c9c042d5ea892f467f
Author: Yuval Langer <yuvallangerontheroad@gmail.com>
Date:   Fri,  3 Jul 2020 10:16:20 +0300

Add Sokoban skeleton-ish and return sokoban object.

Diffstat:
Mhtml/sokoban.js | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/html/sokoban.js b/html/sokoban.js @@ -204,4 +204,13 @@ let sokoban = (function() { console.log(is_win(state)); } ); + + + return { + step, + is_win, + level1, + read_level_text, + state_to_text, + }; })();