This commit is contained in:
MSI-AB\antoineB 2025-05-16 09:55:29 +02:00
parent 89c8f689dd
commit 6628ecdb12
1 changed files with 22 additions and 22 deletions

View File

@ -1,23 +1,23 @@
import backend.Board;
import backend.Move;
import backend.Piece;
import backend.PieceType;
import backend.Board;
import backend.Move;
import backend.Piece;
import backend.PieceType;
import windowInterface.MyInterface;
import windowInterface.MyInterface;
public class Main {
public class Main {
public static void main(String[] args) {
// testing :
Board testBoard = new Board(8, 8);
testBoard.populateBoard();
System.out.println(testBoard.toString());
public static void main(String[] args) {
// testing :
Board testBoard = new Board(8, 8);
testBoard.populateBoard();
System.out.println(testBoard.toString());
// launches graphical interface :
MyInterface mjf = new MyInterface();
mjf.setVisible(true);
}
// launches graphical interface :
MyInterface mjf = new MyInterface();
mjf.setVisible(true);
}
}