Empty chess board

This commit is contained in:
PIRANUT_PHLANG 2025-04-09 10:55:09 +02:00
parent 194ac57eb8
commit 7bc1707ad6
1 changed files with 6 additions and 2 deletions

View File

@ -3,19 +3,23 @@ package backend;
import java.util.ArrayList; import java.util.ArrayList;
public class Board { public class Board {
private int width;
private int height;
public Board(int colNum, int lineNum) { public Board(int colNum, int lineNum) {
this.width = colNum;
this.height = lineNum;
//TODO //TODO
} }
public int getWidth() { public int getWidth() {
//TODO //TODO
return 0; return width;
} }
public int getHeight() { public int getHeight() {
//TODO //TODO
return 0; return height;
} }
public int getTurnNumber() { public int getTurnNumber() {