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

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