- place = abs (25-b-i);
- menstuck = abs (board[b]);
- for (j = b; j != i; j += a) {
- if (board[j]*a > 0) {
- diff = abs(j-i);
- addon = place+((board[j]*a > 2 || j == b)? 5: 0);
+ place = abs(25 - b - i);
+ menstuck = abs(board[b]);
+ for (j = b; j != i; j += a) {
+ if (board[j] * a > 0) {
+ diff = abs(j - i);
+ addon = place + ((board[j] * a > 2 || j == b) ? 5 : 0);