This commit is contained in:
parent
89c8f689dd
commit
6628ecdb12
|
|
@ -1,23 +1,23 @@
|
||||||
import backend.Board;
|
import backend.Board;
|
||||||
import backend.Move;
|
import backend.Move;
|
||||||
import backend.Piece;
|
import backend.Piece;
|
||||||
import backend.PieceType;
|
import backend.PieceType;
|
||||||
|
|
||||||
import windowInterface.MyInterface;
|
import windowInterface.MyInterface;
|
||||||
|
|
||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
// testing :
|
// testing :
|
||||||
Board testBoard = new Board(8, 8);
|
Board testBoard = new Board(8, 8);
|
||||||
testBoard.populateBoard();
|
testBoard.populateBoard();
|
||||||
System.out.println(testBoard.toString());
|
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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue