Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 767 Bytes

File metadata and controls

31 lines (18 loc) · 767 Bytes

Connection between clients using localhost.

Tutorial

Compile files

javac -d . com/multiplayer/*.java

Execute Server

java com.multiplayer.Server
or, are you using the binary
java --class-path LocalMultiplayer-1.0.0.jar com.multiplayer.Server

Output

Execute Client

java com.multiplayer.Clienr
or, are you using the binary
java --class-path LocalMultiplayer-1.0.0.jar com.multiplayer.Client

Output

Server output