@Override
    public void onGameEnd(int result, Object arg) {
        if (result == 1) {
            this.send("GAME-END " + result + " " + ((Player) arg).getName());
        } else if (result == -1) {
            this.send("GAME-END " + result);
        }
    }