Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iamjosephmj/tic-tac-toe-3x3-using-c.

Tic-Tac-Toe-3x3-using-C
https://github.com/iamjosephmj/tic-tac-toe-3x3-using-c.

Last synced: 1 day ago
JSON representation

Tic-Tac-Toe-3x3-using-C

Awesome Lists containing this project

README

        

# Tic-Tac-Toe-3x3-using-C.

Tic-tac-toe (also known as noughts and crosses or Xs and Os) is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.

HOW TO PLAY
-----------
The board is having the indices as show in the below.

```
[1][1] [1][2] [1][3]

[2][1] [2][2] [2][3]

[3][1] [3][2] [3][3]
```

- The user will asked to select any one of the modes:
1) CPU takes first game
or
2) User takes first game.

- The user will be asked to enter 'X' or 'O' on the board using [row][colum] positioning.