vashish1 / Tic-Tac-Toe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tic-Tac-Toe

This is a CLI version of Tic-tac-toe

Installation :

# Download Golang into your system using [this](https://golang.org/dl/) link:
   
# Setup Go according to this [documentation](https://golang.org/doc/install)

Setup :

--> Clone this repo into your system.

--> use "go get ..." to download the open source packages.

--> Use any editor to open the this folder

--> To run it, simply build & run using following commands:

   $go build
   $./tic-Tac-Toe

Running

--> User Enters the Key, either 'X' or 'O' depending on this either computer will start first or the user('X' starts first).

--> To play a move user should type.
       **move 2,2**

       To move the key to the bottom right corner of the board.

                      |   |   |   |
                      |   |   |   |
                      |   |   | X |

--> To quit the game, user should type 
          **quit**

--> The result will be printed aong with the board.

About


Languages

Language:Go 100.0%