first step done

This commit is contained in:
Tikea TE 2025-04-10 10:01:25 +02:00
parent bd9365756f
commit 45abb2e6e0
1 changed files with 9 additions and 7 deletions

View File

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