forked from pierront/rock-paper-scissors
dick #1
@@ -11,7 +11,7 @@ public enum Move {
|
|||||||
case ROCK -> other == SCISSORS;
|
case ROCK -> other == SCISSORS;
|
||||||
case PAPER -> other == ROCK || other == WELL;
|
case PAPER -> other == ROCK || other == WELL;
|
||||||
case SCISSORS -> other == PAPER;
|
case SCISSORS -> other == PAPER;
|
||||||
case WELL -> other == PAPER;
|
case WELL -> other == ROCK || other == SCISSORS;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user