In this version it is possible to add and remove a piece (BLACK_PAWN) to the board.
The board is diplayed in a very basic way in the console.
This commit is contained in:
34
src/suicideChess/SuicideChess.java
Normal file
34
src/suicideChess/SuicideChess.java
Normal file
@ -0,0 +1,34 @@
|
||||
package suicideChess;
|
||||
|
||||
import tests.TestMoves;
|
||||
|
||||
/**
|
||||
* @author djib
|
||||
*
|
||||
* Main File
|
||||
*
|
||||
* $LastChangedDate$
|
||||
* $LastChangedRevision$
|
||||
* $LastChangedBy$
|
||||
*/
|
||||
|
||||
public class SuicideChess {
|
||||
|
||||
/**
|
||||
* Those flags are used to perform extra checks during the debugging of the
|
||||
* program. They may be safely all set to false once the program is stable.
|
||||
* It should improve performance a lot.
|
||||
*/
|
||||
//does BitBoard.class removePiece function checks if removing piece is legal ?
|
||||
public static final boolean BITBOARD_REMOVEPIECE_CHECK_REMOVE = true;
|
||||
|
||||
|
||||
|
||||
/*****************
|
||||
* MAIN FUNCTION *
|
||||
*****************/
|
||||
public static void main(String[] args) {
|
||||
TestMoves.main(args);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user