implementation of the BOard size 8x8

This commit is contained in:
Jérôme BEDIER 2025-04-18 15:06:32 +02:00
parent c642476032
commit ee3491a243
1 changed files with 2 additions and 1 deletions

View File

@ -3,9 +3,10 @@ package backend;
import java.util.ArrayList;
public class Board {
private Piece[][] board;
public Board(int colNum, int lineNum) {
//TODO
this.board = new Piece[8][8]; // 8x8 chess board
}
public int getWidth() {