org/homelinux/largo/schach/KIBoard.java
changeset 11 1afe167876fb
parent 7 93fe1f21e0d8
child 13 f83884cc7d2f
equal deleted inserted replaced
10:2c04629d9120 11:1afe167876fb
    58 		int black = 0;
    58 		int black = 0;
    59 
    59 
    60 		for(i=0;i<64;i++) {
    60 		for(i=0;i<64;i++) {
    61 			if (isWhite(i))
    61 			if (isWhite(i))
    62 				white+=getValue(i);
    62 				white+=getValue(i);
    63 			if (isBlack(i))
    63 			else if (isBlack(i))
    64 				black+=getValue(i);
    64 				black+=getValue(i);
    65 		}
    65 		}
    66 
    66 
       
    67 		// Bewerte Entwicklung, Anzahl der Steine
       
    68 		// Das hier ist alles zu lahm...
    67 		white+=controls("white");
    69 		white+=controls("white");
    68 		black+=controls("black");
    70 		black+=controls("black");
    69 
    71 
    70 		/**
    72 		/**
    71 		 * solves ticket #3
    73 		 * solves ticket #3