From 8850d320db8931e394afbae0a1cbccd610319f97 Mon Sep 17 00:00:00 2001 From: Shaun Kerr Date: Mon, 20 May 2019 10:51:30 +1200 Subject: [PATCH] added example to readme --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6bed1e9..e248b8e 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,26 @@ printState initBS `conHurt` and `conAttract` are currently the only implemented mechanics ```haskell -printState $ conAttract Shinji Asuka initBS printState $ conHurt Asuka Gendo $ conAttract Shinji Asuka initBS ``` +returns: + +``` +== BOARD STATE == + - Groups - +A ~ [ Shinji, Asuka ] <-> BCDE +B ~ [ Rei ] <-> AE +C ~ [ Misato ] <-> AD +D ~ [ Ritsuko ] <-> ACE +E ~ [ Gendo ] <-> ABD + - Downed - +~ Gendo + - GameLog - +Shinji attracted Asuka, Asuka's group joined Shinji's group +Asuka hurt Gendo, Gendo is downed + ================= +``` + ### Dependencies