Skip to content

Added Doc.md for game_of_fifteen bot #513

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions zulip_bots/zulip_bots/bots/game_of_fifteen/doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# game_of_fifteen bot
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace this with 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:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this:

This bot is designed to let you play a [game of fifteen](https://en.wikipedia.org/wiki/15_puzzle).
To start a new game, simply type:

```
@game_of_fifteen
```

Run this bot as described in [here](https://zulipchat.com/api/running-bots#running-a-bot).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace as described in with just as described. :)


## Usage

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this paragraph to the top of the previous section. Also, replace we hit the end with till one reaches the end.

`move <tile1> <tile2>` - 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.