Commit ee076ddb authored by Haj Rezvan's avatar Haj Rezvan

Add "public static boolean checkEndOfGame()" method for end of the game.

parent 8a8c87c9
...@@ -198,6 +198,11 @@ public class Board implements IBoard { ...@@ -198,6 +198,11 @@ public class Board implements IBoard {
printMap(); printMap();
} }
public static boolean checkEndOfGame(){
boolean validate = true;
return validate;
}
public void setVisualMap(char[][] map) { public void setVisualMap(char[][] map) {
visualMap = map; visualMap = map;
} }
......
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