Bringing Uno to Slack.
Slackbot-Uno was inspired by the many Uno bots that tend to be found on various IRC channels around the internet. Not having found much to bring such a bot to Slack (and having a desire to better understand both the Slack API and Node), one was created.
Slackbot-Uno is based on the Slapp Bot Fremework, hosted on BeepBoop, with Redis storage provided by Redis Labs, and game deck generation via DeckOfCardsApi.
The bot is interacted mosstly via slash commands (by default as /uno <command> <args>
). The following commands are exposed by the bot itself:
new
: Begins a new game in the current channel. join
: Joins the game in the current channel. If the game has already started, you will instead join the next game when the current game finishes.quit
: Quits the current game. If you are waiting for the next game to begin, you will not be added to the next game. addbot <ai_name> <player_name>
: Adds and AI player with a brain of removebot <player_name>
: Removes the AI player with the specified name from the current game.renamebot <player_name> <new_name>
: Renames the AI player to the name specified. The new name must not be the name of another player registered with the game.play <color> <value>
: Plays the given card. If playing a wild, do not specify the color, just the value (wild
or draw 4
). The full color/value can be specified (eg. red skip
), or a shortened value can be used (eg g9
, yd
).draw
: Draws a card and adds it to your hand.status
: Displays the current status of the game, including your hand, the current up card, the current game points, and the current turn order.