implementation of the BOard size 8x8
This commit is contained in:
parent
c642476032
commit
ee3491a243
|
|
@ -3,9 +3,10 @@ package backend;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
public class Board {
|
public class Board {
|
||||||
|
private Piece[][] board;
|
||||||
|
|
||||||
public Board(int colNum, int lineNum) {
|
public Board(int colNum, int lineNum) {
|
||||||
//TODO
|
this.board = new Piece[8][8]; // 8x8 chess board
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getWidth() {
|
public int getWidth() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue