-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from kenshinthebattosai/working
- Loading branch information
Showing
15 changed files
with
170 additions
and
23 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mainClassName=com.kenny.classiq.Main | ||
classPath=./KennyClassIQ.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
rem @echo off | ||
rem ====================================================================== | ||
rem This script will run jlaunch in debug mode. By default all messages are | ||
rem printed in a DOS box (mode=box). As an alternative you can redirect all | ||
rem messages to the file jlaunch_log.txt (mode=logging). | ||
rem | ||
rem ====================================================================== | ||
rem | ||
set mode=box | ||
rem set mode=logging | ||
rem | ||
rem ====================================================================== | ||
rem | ||
if "%mode%" == "box" goto runBox | ||
goto runLogging | ||
rem | ||
rem ====================================================================== | ||
rem | ||
:runBox | ||
.\jlaunch.exe -v | ||
pause | ||
goto ende | ||
rem | ||
rem ====================================================================== | ||
rem | ||
:runLogging | ||
.\jlaunch.exe -L | ||
goto ende | ||
rem | ||
rem ====================================================================== | ||
rem | ||
:ende |
Binary file not shown.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.kenny.classiq.junit; | ||
|
||
import org.junit.Test; | ||
|
||
import com.kenny.classiq.game.Game; | ||
|
||
public class PromotionTest | ||
{ | ||
@Test | ||
public void test() | ||
{ | ||
String newFEN="rnbqkbnr/pppPpppp/8/8/8/8/PPPPPPpP/RNBQKB1R w KQkq - 0 1"; | ||
Game chessGame=new Game(newFEN); | ||
chessGame.showBoard(); | ||
System.out.println(chessGame.getGameBoard().getSquare("g2"). | ||
getPiece().getMoves()); | ||
System.out.println(chessGame.getGameBoard().getSquare("g2"). | ||
getPiece().getMoves().get(0).getMoveString()); | ||
System.out.println(chessGame.getGameBoard().getSquare("d7"). | ||
getPiece().getMoves()); | ||
System.out.println(chessGame.getGameBoard().getSquare("d7"). | ||
getPiece().getMoves().get(0).getMoveString()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters