To start the server simply run the GameServer.java
The program will ask for a port on which to start the server or optionally one can provide the port when starting the server like so:
GameServer.java 8888
emilsbee / battleship-server Goto Github PK
View Code? Open in Web Editor NEWServer for a multiplayer game of battleship for university.