From a96b007c1f92dee1d830f1b6e38628c00416dc79 Mon Sep 17 00:00:00 2001 From: Patrick FELIX-VIMALARATNAM Date: Sat, 29 Nov 2025 19:48:26 +0100 Subject: [PATCH] Update src/main/java/fr/iut_fbleau/info/but3/automation/rock_paper_scissors/play/domain/Move.java --- .../but3/automation/rock_paper_scissors/play/domain/Move.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/iut_fbleau/info/but3/automation/rock_paper_scissors/play/domain/Move.java b/src/main/java/fr/iut_fbleau/info/but3/automation/rock_paper_scissors/play/domain/Move.java index f7aa317..5d70574 100644 --- a/src/main/java/fr/iut_fbleau/info/but3/automation/rock_paper_scissors/play/domain/Move.java +++ b/src/main/java/fr/iut_fbleau/info/but3/automation/rock_paper_scissors/play/domain/Move.java @@ -9,7 +9,7 @@ public enum Move { public boolean beats(Move other) { return switch (this) { case ROCK -> other == SCISSORS; - case PAPER -> (other == ROCK || other == WELL ); + case PAPER -> (other == ROCK || other == WELL); case SCISSORS -> other == PAPER; case WELL -> (other == ROCK || other == SCISSORS); };