@@ -1,6 +1,6 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<project version="4"> | |||
<component name="ProjectRootManager" version="2" languageLevel="JDK_20" project-jdk-name="17" project-jdk-type="JavaSDK"> | |||
<component name="ProjectRootManager" version="2" languageLevel="JDK_16" project-jdk-name="17" project-jdk-type="JavaSDK"> | |||
<output url="file://$PROJECT_DIR$/out" /> | |||
</component> | |||
</project> |
@@ -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": |