Commit 334b3718 authored by Haj Rezvan's avatar Haj Rezvan

Add refresh method

parent 6b419d58
...@@ -176,4 +176,8 @@ public class Board implements IBoard { ...@@ -176,4 +176,8 @@ public class Board implements IBoard {
} }
} }
public void refresh() throws IOException, InterruptedException {
printMap();
}
} }
\ No newline at end of file
...@@ -10,5 +10,6 @@ public class GamePlay { ...@@ -10,5 +10,6 @@ public class GamePlay {
Nuts nuts1W = new Nuts('w',4,'E'); Nuts nuts1W = new Nuts('w',4,'E');
Nuts nuts2W = new Nuts('w',5,'D'); Nuts nuts2W = new Nuts('w',5,'D');
} }
} }
\ No newline at end of file
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