Repository navigation
Release v1.0
First release of BattleShipsClient library. Only receiving and sending messages are currently implemented.
You can connect to the server and send and receive commands using the following example code
BattleShipsClient.connect("localhost", 55555, "Saph");
BattleShipsClient.addListener(new IListener() {
@Override
public void onMessageReceived(String message) {
System.out.println(message);
}
});
BattleShipsClient.sendCommand("MOVE~10~12");