Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 1.06 KB

README.md

File metadata and controls

17 lines (15 loc) · 1.06 KB

Tic-Tac-Toe-with-C-programmng

Author: github.com/Dark-Night-Avi

Don't copy this code without giving me the credits, nerd!

Source Code has been written by Aritra Karmakar


This is a game in which two players seek in alternate turns to complete a row, a column, or a diagonal with either three O's or three X's drawn in the spaces of a grid of nine squares; noughts and crosses.

Tic Tac Toe image


Procedure:

  • At first, player-1 will enter the position where he/she wants to put cross(X).
  • Then, Player-2 will enter the position where he/she wants to put Zero(0) and repeat till three continous 0 or X comes there row wise or column wise or corner wise..
  • When three continous 0 or X will be there, For the last player, this is a win.