2017-01-05 00:06:50 -05:00
|
|
|
# About Tic-Tac-Toe Bot
|
|
|
|
|
|
|
|
This bot allows you to play tic-tac-toe in a private message with the bot.
|
|
|
|
Multiple games can simultaneously be played by different users, each playing
|
|
|
|
against the computer.
|
|
|
|
|
2017-03-05 13:42:39 -05:00
|
|
|
The bot only responds to messages starting with @mention of the bot(botname).
|
2017-01-05 00:06:50 -05:00
|
|
|
|
|
|
|
### Commands
|
2017-03-05 13:42:39 -05:00
|
|
|
**@mention-botname new** will start a new game (but not if you are
|
2017-01-05 00:06:50 -05:00
|
|
|
already playing a game.) You must type this first to start playing!
|
|
|
|
|
2017-03-05 13:42:39 -05:00
|
|
|
**@mention-botname help** will return a help function with valid
|
2017-01-05 00:06:50 -05:00
|
|
|
commands and coordinates.
|
|
|
|
|
2017-03-05 13:42:39 -05:00
|
|
|
**@mention-botname quit** will quit from the current game.
|
2017-01-05 00:06:50 -05:00
|
|
|
|
2017-03-05 13:42:39 -05:00
|
|
|
**@mention-botname <coordinate>** will make a move at the
|
|
|
|
entered coordinate. For example, **@mention-botname 1,1** . After this, the bot will make
|
2017-01-05 00:06:50 -05:00
|
|
|
its move, or declare the game over if the user or bot has won.
|
|
|
|
|
|
|
|
Coordinates are entered in a (row, column) format. Numbering is from top to
|
|
|
|
bottom and left to right.
|
|
|
|
Here are the coordinates of each position. When entering coordinates, parentheses
|
|
|
|
and spaces are optional.
|
|
|
|
|
|
|
|
(1, 1) | (1, 2) | (1, 3)
|
|
|
|
|
|
|
|
(2, 1) | (2, 2) | (2, 3)
|
|
|
|
|
|
|
|
(3, 1) | (3, 2) | (3, 3)
|
|
|
|
|
|
|
|
Invalid commands will result in an "I don't understand" response from the bot,
|
2017-03-05 13:42:39 -05:00
|
|
|
with a suggestion to type **@mention-botname help** .
|