@Override
    public int compare(Weapon weapon1, Weapon weapon2) {

        int compare = 0;

        switch (weapon1) {
            case ROCK:
                switch (weapon2) {
                    case PAPER:
                        compare = -1;
                        break;
                    case SCISSORS:
                        compare = 1;
                        break;
                }
                break;
            case PAPER:
                switch (weapon2) {
                    case SCISSORS:
                        compare = -1;
                        break;
                    case ROCK:
                        compare = 1;
                        break;
                }
                break;
            case SCISSORS:
                switch (weapon2) {
                    case ROCK:
                        compare = -1;
                        break;
                    case PAPER:
                        compare = 1;
                        break;
                }
                break;
        }
        return compare;
    }