org/homelinux/largo/schach/Schach.java
changeset 5 42da09368d71
parent 1 930f3c241fa5
child 7 93fe1f21e0d8
equal deleted inserted replaced
4:429128ca9812 5:42da09368d71
   140 				board.setBlacksTurn(false);
   140 				board.setBlacksTurn(false);
   141 
   141 
   142 				if (board.simu_debug()) {
   142 				if (board.simu_debug()) {
   143 					for (int i=0;i<64;i++) {
   143 					for (int i=0;i<64;i++) {
   144 						if((i+1)%8 == 0 )
   144 						if((i+1)%8 == 0 )
   145 							System.err.printf("%2d=%d\n", i, board.getValue(i));
   145 							System.err.printf("%2d=%d%n", i, board.getValue(i));
   146 						else
   146 						else
   147 							System.err.printf("%2d=%d ", i, board.getValue(i));
   147 							System.err.printf("%2d=%d ", i, board.getValue(i));
   148 					}
   148 					}
   149 				}
   149 				}
   150 
   150 
   196 				board.setBlacksTurn(false);
   196 				board.setBlacksTurn(false);
   197 
   197 
   198 				if (board.simu_debug()) {
   198 				if (board.simu_debug()) {
   199 					for (int i=0;i<64;i++) {
   199 					for (int i=0;i<64;i++) {
   200 						if((i+1)%8 == 0 )
   200 						if((i+1)%8 == 0 )
   201 							System.out.printf("%2d=%d\n", i, board.getValue(i));
   201 							System.out.printf("%2d=%d%n", i, board.getValue(i));
   202 						else
   202 						else
   203 							System.out.printf("%2d=%d ", i, board.getValue(i));
   203 							System.out.printf("%2d=%d ", i, board.getValue(i));
   204 					}
   204 					}
   205 				}
   205 				}
   206 			}
   206 			}