From d0386d3fafc0a08c85704cd86964a1bf32e76f02 Mon Sep 17 00:00:00 2001 From: anehls93 <38763998+anehls93@users.noreply.github.com> Date: Tue, 30 Apr 2019 16:53:13 -0400 Subject: [PATCH 1/2] Create doc.md --- .../zulip_bots/bots/game_of_fifteen/doc.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 zulip_bots/zulip_bots/bots/game_of_fifteen/doc.md diff --git a/zulip_bots/zulip_bots/bots/game_of_fifteen/doc.md b/zulip_bots/zulip_bots/bots/game_of_fifteen/doc.md new file mode 100644 index 000000000..cb6628c08 --- /dev/null +++ b/zulip_bots/zulip_bots/bots/game_of_fifteen/doc.md @@ -0,0 +1,18 @@ +# game_of_fifteen bot + +Game of Fifteen bot is a bot designed to let you play a game of fifteen. To summon it, simply type `@game_of_fifteen`, +like so: + +``` +@game_of_fifteen +``` + +Run this bot as described in [here](https://zulipchat.com/api/running-bots#running-a-bot). + +## Usage + +The xkcd bot has four commands: + +1. `help` - This command is used to list all commands that can be used + with this bot. Example usage: `@xkcd help`: + ![](/static/generated/bots/xkcd/assets/xkcd-help.png) From 07647451d790998022a9f4ddb451a5efade30d21 Mon Sep 17 00:00:00 2001 From: anehls93 <38763998+anehls93@users.noreply.github.com> Date: Tue, 30 Apr 2019 17:04:39 -0400 Subject: [PATCH 2/2] Update doc.md --- zulip_bots/zulip_bots/bots/game_of_fifteen/doc.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/zulip_bots/zulip_bots/bots/game_of_fifteen/doc.md b/zulip_bots/zulip_bots/bots/game_of_fifteen/doc.md index cb6628c08..9cc03cb71 100644 --- a/zulip_bots/zulip_bots/bots/game_of_fifteen/doc.md +++ b/zulip_bots/zulip_bots/bots/game_of_fifteen/doc.md @@ -11,8 +11,6 @@ Run this bot as described in [here](https://zulipchat.com/api/running-bots#runni ## Usage -The xkcd bot has four commands: +The goal of the game is to arrange all numbers from smallest to largest, starting with the grey question mark in the upper left corner, and then moving through each row until we hit the end. -1. `help` - This command is used to list all commands that can be used - with this bot. Example usage: `@xkcd help`: - ![](/static/generated/bots/xkcd/assets/xkcd-help.png) +`move ` - This command is used to pick which number to switch with the grey question mark. Only pieces adjacent to the grey question mark may be moved.