修改bot地图大小
This commit is contained in:
		
							parent
							
								
									479883bc3e
								
							
						
					
					
						commit
						1c4deb2c3f
					
				@ -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++) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user