Giter Club home page Giter Club logo

tictactoe-for-slack-team's Introduction

.~.~.~.~ EMOJI TIC-TAC-TOE FOR SLACK README ~.~.~.~.

This is a tic-tac-toe game that can be played in Slack channels using the slash command /ttt.

Users can challenge anyone in the team to play a game of tic-tac-toe on any public Slack channel. There can be simultaneous games ongoing but only 1 game per channel. Players make a move by specifying which number on the board they'd like to place their symbol on. If the same symbol appears 3-in-a-row horizontally, vertically, or diagonally, that player is the winner. If the board is full with no winner, there is a draw. Anyone in the team can end an ongoing game. A new game can only begin after the previous one ends. At any time in a channel, any user can ask for the current game status and a help message.

How to play the game in Slack: All commands are preceded by "/ttt ". Only the first whole word is taken into account. The valid commands are listed below: /ttt @username : If the username is in the team, a new game starts between
the user who called the slash command and username. /ttt # : Players (whose turn it is), can place their symbols ( X or O ) on on an open spot on the board by specifying the number /ttt endgame : Anyone on the Slack team can end an ongoing game including the two current players. /ttt status : Anyone on the Slack team can get a status of an ongoing game including the two current players. /ttt help : Anyone on the Slack team can get a help message detailing how to play the game including the two current players.

When starting a game, you should get this:
![Starting a game] (https://dl.dropboxusercontent.com/u/4440990/TTT/Welcome%20TTT.png)

Taking turns:
![Next turn] (https://dl.dropboxusercontent.com/u/4440990/TTT/Next%20turn%20TTT.png)

Winner, winner, chicken dinner!!
![Winner of the game] (https://dl.dropboxusercontent.com/u/4440990/TTT/Winner%20TTT.png)

Draw!
![Game Draw] (https://dl.dropboxusercontent.com/u/4440990/TTT/Draw.png)

Manual/Custom commands will result in a status message like this:
![Ending a game] (https://dl.dropboxusercontent.com/u/4440990/TTT/End%20TTT.png)

For more information about tic-tac-toe, please visit: https://en.wikipedia.org/wiki/Tic-tac-toe

tictactoe-for-slack-team's People

Contributors

jeanhl avatar

Stargazers

Harold Short avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.