Skip to content

ektaarora16/Tic-Tac-Toe-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Tic-Tac-Toe-game

Implementation of Tic-Tac-Toe game

Difficulty Level : Easy

Rules of the Game :

The game is to be played between two people (in this program between HUMAN and COMPUTER). One of the player chooses ‘O’ and the other ‘X’ to mark their respective cells. The game starts with one of the players and the game ends when one of the players has one whole row/ column/ diagonal filled with his/her respective character (‘O’ or ‘X’). If no one wins, then the game is said to be draw.

image

Winning Strategy – An Interesting Fact :

If both the players play optimally then it is destined that you will never lose (“although the match can still be drawn”). It doesn’t matter whether you play first or second.In another ways – “ Two expert players will always draw ”.

How to play

This is very easy java code & easy to play.

  1. Download the above java file and run the code on your choice of IDE.

  2. Click on "Run"

  3. It ask you to enter your name & your opponent name after that your game will begain

  4. Who score heighest marks will win.

Team Members

  1. Ekta Arora
  2. Aaquib Ali
  3. Shrejal Singh
  4. Ruthvik Kanukunta

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages