修改bot地图大小

This commit is contained in:
flykhan 2023-03-13 00:45:54 +08:00
parent 479883bc3e
commit 1c4deb2c3f
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ public class Bot implements java.util.function.Supplier<Integer> {
// @Override // @Override
public Integer nextMove(String input) { public Integer nextMove(String input) {
String[] strs = input.split("#"); String[] strs = input.split("#");
int rows = 18; int rows = 13;
int cols = 19; int cols = 14;
int[][] g = new int[rows][cols]; int[][] g = new int[rows][cols];
for (int i = 0, k = 0; i < rows; i++) { for (int i = 0, k = 0; i < rows; i++) {
for (int j = 0; j < cols; j++, k++) { for (int j = 0; j < cols; j++, k++) {