tested version
This commit is contained in:
1 parent
23d97635ad
commit
b627544d6b
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -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":
|
||||
|
||||
Reference in new issue
Block a user