changeset 7 | 93fe1f21e0d8 |
parent 0 | e0dbaef72362 |
child 13 | f83884cc7d2f |
--- a/org/homelinux/largo/games/board/checkersboard/CheckersBoard.java +++ b/org/homelinux/largo/games/board/checkersboard/CheckersBoard.java @@ -71,7 +71,6 @@ public boolean validMove (int t, int o) { int steps; int rows; - int dx; if ( t == o ) return false; @@ -204,7 +203,6 @@ * all changes are relative to pieces and will not be painted. */ public boolean simulateMove(int t, int o) { - int steps = Math.abs(t-o); int rows = Math.abs(t/8 - o/8); int pos;