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

https://github.com/ayeshaashfaq12/tictactoe_game

A 2D-console based game with some thrilling experience and score boarding for the user
https://github.com/ayeshaashfaq12/tictactoe_game

cpp game game-development tic-tac-toe tic-tac-toe-game tictactoe-cpp tictactoe-cpp-game tictactoe-game

Last synced: 2 months ago
JSON representation

A 2D-console based game with some thrilling experience and score boarding for the user

Awesome Lists containing this project

README

        


TicTacToe Game


2D Console Based Game


A 2D-console based game with some thrilling experience and score boarding for the user. Tic-tac-toe (American English), noughts and crosses (Commonwealth English), or Xs and Os (Canadian or Irish English) is a game for two players who take turns marking the spaces in a three-by-three grid with X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner. It is a solved game, with a forced draw assuming best play from both players.
I have designed it as a 2D Console based game.



### How to play


Following are rules to play the game:

- There are two players in the game.
- The game is played on a grid that's 3 squares by 3 squares.
- Players take turns putting their respective marks in empty squares.
- The first player to get 3 of her marks in a row (up, down, across, or diagonally) is the winner.
- When all 9 squares are full, the game is draw.


### C++ Libraries used


Libraries of C++ used in development of game:

- iostream
- conio.h
- windows.h
- stdlib.h


### Technology Stack


Follwing technologies have been used in development of game:

- C++


### Graphical User Interface