public AttackType intToAttack(int num) {
       if (num == 1) return AttackType.ROCK;
       if (num == 2) return AttackType.PAPER;
       if (num == 3) return AttackType.SCISSORS;
       if (num == 4) return AttackType.LIZARD;
       return AttackType.SPOCK;
    }