- Open three terminal instances.
- Run
sbt run
on three instances. - Choose
com.example.ServerMain
(by typing 2) on the first terminal, thencom.example.ClientMain
(by typing 1) on the rest. - On the client instances, use two different names to register.
- The two clients will now show the online member list consisting each other's name, type
-1
in one of the terminal instance. - For the other client, type
0
to invite the opponent for game. - Switch to the invited client and accept the game request.
- The game starts and you can now making a gesture selection on both client instances.
-
Notifications
You must be signed in to change notification settings - Fork 0
hockshem/distributed-rock-paper-scissors
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Codebase for Distributed System Assignment
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published