Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 496 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 496 Bytes

To compile and run:

sbt compile
sbt run

That will start the server, which will display: Waiting for player1...

From other terminal type:

nc localhost 5000

And from other terminal type:

nc localhost 5000

To move enter row and column separated by space:

> nc localhost 5000
Connected as player 1
+---+
|...|
|...|
|...|
+---+

Your move: 
2 2
+---+
|...|
|.X.|
|...|
+---+

Waiting other player...