From b627544d6b0a4dae3af49f70bc5ee14f57f82078 Mon Sep 17 00:00:00 2001 From: ehrensbergeral85239 Date: Thu, 14 Dec 2023 16:45:00 +0100 Subject: [PATCH] tested version --- .idea/misc.xml | 2 +- src/ManualBot.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 0be1bd5..fb40be9 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/src/ManualBot.java b/src/ManualBot.java index 0ea91b8..9a82557 100644 --- a/src/ManualBot.java +++ b/src/ManualBot.java @@ -11,12 +11,12 @@ public class ManualBot extends Bot{ protected char nextMove(View view) throws Exception{ Scanner scanner = new Scanner(System.in); - switch(scanner.nextLine()){ + switch(scanner.nextLine().toLowerCase()){ case "w": return '^' ; case "s": - return 'V' ; + return 'v' ; case "a": return '<' ; case "d":