Skip to content

saharshkhicha18/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

1. In order to run this game, IDE as well as terminal can be used. 

2. For terminal, first start the server by navigating TTTServer.java and executing following commands:
 - javac TTTServer.java
 - java TTTServer

3. After setting up the server, run the command Prompt/terminal again and navigate TTTClient.java for player 1 and execute the following steps:
 - javac TTTClient.java
 - java TTTClient

4. Repeat the Player 1 steps for player 2. 

5. Enter your name and press submit and then start playing!

6. For IDE, run the TTTServer.java on the host and run two TTTClient.java for the two players using two different operators. 

7. The game will stop if one of the players leave the game and it will show a draw if none of the players can win the game. 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages