sharmaparnika / Tic_Toe_Problem

The game Tic Tac Toe is also known as Noughts and Crosses or Xs and Os ,the player needs to take turns marking the spaces in a 3x3 grid with their own marks,if 3 consecutive marks (Horizontal, Vertical,Diagonal) are formed then the player who owns these moves get won.

Home Page:https://github.com/sharmaparnika/Tic_Toe_Problem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tic_Toe_Problem

The game Tic Tac Toe is also known as Noughts and Crosses or Xs and Os ,the player needs to take turns marking the spaces in a 3x3 grid with their own marks,if 3 consecutive marks (Horizontal, Vertical,Diagonal) are formed then the player who owns these moves get won.

Assume ,

  • Player 1 - X

  • Player 2 - O

So,a player who gets 3 consecutive marks first,they will win the game .

image

Output:

image

image


About

The game Tic Tac Toe is also known as Noughts and Crosses or Xs and Os ,the player needs to take turns marking the spaces in a 3x3 grid with their own marks,if 3 consecutive marks (Horizontal, Vertical,Diagonal) are formed then the player who owns these moves get won.

https://github.com/sharmaparnika/Tic_Toe_Problem


Languages

Language:Jupyter Notebook 65.7%Language:Python 34.3%