This commit is contained in:
hugomanipoud2 2025-04-08 11:55:10 +02:00
parent 79e29ec396
commit 92d7cc6aeb
2 changed files with 17 additions and 7 deletions

View File

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

View File

@ -1,7 +1,13 @@
package backend;
public class Piece {
private int x;
public Piece(int x) {
this.x = 0;
}
public int getX() {
return 0;
}