Skip to content

xianghai2/EclipseProject_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

cd game/target/
java -jar game-0.0.1-SNAPSHOT-jar-with-dependencies.jar
Please choose who will play first ( Alice stands for X, Bob stands for O ):
Alice
Player Alice ('X'), enter your move (row[1-3] column[1-3]):
1 2
   | X |
-----------
   |   |
-----------
   |   |
Player Bob ('O'), enter your move (row[1-3] column[1-3]):
2 1
   | X |
-----------
 O |   |
-----------
   |   |
Player Alice ('X'), enter your move (row[1-3] column[1-3]):
3 3
   | X |
-----------
 O |   |
-----------
   |   | X
Player Bob ('O'), enter your move (row[1-3] column[1-3]):
2 3
   | X |
-----------
 O |   | O
-----------
   |   | X
Player Alice ('X'), enter your move (row[1-3] column[1-3]):
2 3
This move at (2,3) is invalid. Try again...
Player Alice ('X'), enter your move (row[1-3] column[1-3]):
2 2
   | X |
-----------
 O | X | O
-----------
   |   | X
Player Bob ('O'), enter your move (row[1-3] column[1-3]):
3 1
   | X |
-----------
 O | X | O
-----------
 O |   | X
Player Alice ('X'), enter your move (row[1-3] column[1-3]):
3 2
   | X |
-----------
 O | X | O
-----------
 O | X | X
Alice won!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages