Skip to content

plafl/ScalaTut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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...

About

Tic Tac Toe in Scala

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages