Commit 8a8c87c9 authored by Haj Rezvan's avatar Haj Rezvan

Add javadoc to my project and clear the empty space.

parent 00669426
......@@ -10,24 +10,19 @@ public class Board implements IBoard {
private static final int SIZE = 9;
//for programmer
private static char[] map = new char[81];
/*
Access in version 0.1
private char[] map;
*/
//for user
private static char[][] visualMap = new char[4 * 9 + 1][8 * 9 + 1];
/*
Access in version 0.1
private char[][] visualMap;
*/
/**
* This constructor, initialise the fields.
* This method, initialise the fields.
*/
public static void initialisingBoard(){
......
import java.io.IOException;
/**
* This class, is main class in program.
* The program started from hear.
* @version 0.2
* @author Rezvanian 9831029
* */
public class GamePlay {
public static void main(String[] args) throws IOException, InterruptedException {
......
import java.io.IOException;
/**
* This interface, has declaration of method in Board class
* @version 0.2
* @author Rezvanian 9831029
* */
public interface IBoard {
char[] getMap();
char[][] getVisualMap();
static void printMap() throws IOException, InterruptedException {
}
// void setMapByPosition(int position, char nut);
// void setVisualMapByPosition(int xPosition, int yPosition, char nut);
int searchPosition(char c);
void setMap(char[] map);
void setVisualMap(char[][] visualMap);
static void refresh() throws IOException, InterruptedException {
}
......
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