Skip to content

chetangole/tic-tac-toe-game-in-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game in Java

Created this game in roughly 1 hour.
It has fixed board size of 3x3.

Console output of the game:

Board Initilized
0 1 2
3 4 5
6 7 8
ONE is playing for position 0
X 1 2 
3 4 5 
6 7 8 
TWO is playing for position 1
X O 2 
3 4 5 
6 7 8 
ONE is playing for position 3
X O 2
X 4 5
6 7 8
TWO is playing for position 2 
X O O 
X 4 5 
6 7 8 
ONE is playing for position 6 
X O O
X 4 5
X 7 8
Winner is ONE

About

Created a simple 3 x 3 Tic Tac Toe game in Java in 1 Hour.

Topics

Resources

Stars

Watchers

Forks

Languages