Commit ca8e1e8e authored by hosein's avatar hosein

playground -> getNutID & getDestination added

parent 202c418a
...@@ -14,6 +14,7 @@ public class PlayGround { ...@@ -14,6 +14,7 @@ public class PlayGround {
private Queen wQueen, bQueen; private Queen wQueen, bQueen;
private King wKing, bKing; private King wKing, bKing;
public PlayGround() { public PlayGround() {
nutsID = new HashMap<>(); nutsID = new HashMap<>();
...@@ -106,7 +107,6 @@ public class PlayGround { ...@@ -106,7 +107,6 @@ public class PlayGround {
} }
// TODO 2 show mokhtalef yeki avale bazi ba 1-8 + a-h va yeki bedone ina
public void showPlayGround() { public void showPlayGround() {
System.out.print(" a b c d e f g h\n _ _ _ _ _ _ _ _\n"); System.out.print(" a b c d e f g h\n _ _ _ _ _ _ _ _\n");
for (int i = 0, j; i < 8; i++) { for (int i = 0, j; i < 8; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment