before big code modification (moving player color in Board)

This commit is contained in:
2006-01-28 13:23:01 +00:00
parent 213b1e3bf0
commit 313cf91ef5
32 changed files with 487 additions and 278 deletions

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:52 GMT 2006 -->
<TITLE> <TITLE>
All Classes All Classes
</TITLE> </TITLE>
@ -22,6 +22,8 @@ All Classes
<TR> <TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="suicideChess/Board.html" title="class in suicideChess" target="classFrame">Board</A> <TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="suicideChess/Board.html" title="class in suicideChess" target="classFrame">Board</A>
<BR> <BR>
<A HREF="suicideChess/ComputerPlayer.html" title="class in suicideChess" target="classFrame">ComputerPlayer</A>
<BR>
<A HREF="suicideChess/Move.html" title="class in suicideChess" target="classFrame">Move</A> <A HREF="suicideChess/Move.html" title="class in suicideChess" target="classFrame">Move</A>
<BR> <BR>
<A HREF="suicideChess/Piece.html" title="class in suicideChess" target="classFrame">Piece</A> <A HREF="suicideChess/Piece.html" title="class in suicideChess" target="classFrame">Piece</A>
@ -32,6 +34,8 @@ All Classes
<BR> <BR>
<A HREF="suicideChess/SuicideChess.html" title="class in suicideChess" target="classFrame">SuicideChess</A> <A HREF="suicideChess/SuicideChess.html" title="class in suicideChess" target="classFrame">SuicideChess</A>
<BR> <BR>
<A HREF="suicideChess/XBoardProtocol.html" title="class in suicideChess" target="classFrame">XBoardProtocol</A>
<BR>
</FONT></TD> </FONT></TD>
</TR> </TR>
</TABLE> </TABLE>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:52 GMT 2006 -->
<TITLE> <TITLE>
All Classes All Classes
</TITLE> </TITLE>
@ -22,6 +22,8 @@ All Classes
<TR> <TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="suicideChess/Board.html" title="class in suicideChess">Board</A> <TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="suicideChess/Board.html" title="class in suicideChess">Board</A>
<BR> <BR>
<A HREF="suicideChess/ComputerPlayer.html" title="class in suicideChess">ComputerPlayer</A>
<BR>
<A HREF="suicideChess/Move.html" title="class in suicideChess">Move</A> <A HREF="suicideChess/Move.html" title="class in suicideChess">Move</A>
<BR> <BR>
<A HREF="suicideChess/Piece.html" title="class in suicideChess">Piece</A> <A HREF="suicideChess/Piece.html" title="class in suicideChess">Piece</A>
@ -32,6 +34,8 @@ All Classes
<BR> <BR>
<A HREF="suicideChess/SuicideChess.html" title="class in suicideChess">SuicideChess</A> <A HREF="suicideChess/SuicideChess.html" title="class in suicideChess">SuicideChess</A>
<BR> <BR>
<A HREF="suicideChess/XBoardProtocol.html" title="class in suicideChess">XBoardProtocol</A>
<BR>
</FONT></TD> </FONT></TD>
</TR> </TR>
</TABLE> </TABLE>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:49 GMT 2006 -->
<TITLE> <TITLE>
Constant Field Values Constant Field Values
</TITLE> </TITLE>
@ -332,12 +332,24 @@ suicideChess.*</FONT></TH>
<TH ALIGN="left" COLSPAN="3">suicideChess.<A HREF="suicideChess/SuicideChess.html" title="class in suicideChess">SuicideChess</A></TH> <TH ALIGN="left" COLSPAN="3">suicideChess.<A HREF="suicideChess/SuicideChess.html" title="class in suicideChess">SuicideChess</A></TH>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.SuicideChess.ASCII_GAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;boolean</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/SuicideChess.html#ASCII_GAME">ASCII_GAME</A></CODE></TD>
<TD ALIGN="right"><CODE>false</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.SuicideChess.BITBOARD_REMOVEPIECE_CHECK_REMOVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> <A NAME="suicideChess.SuicideChess.BITBOARD_REMOVEPIECE_CHECK_REMOVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;boolean</CODE></FONT></TD> <CODE>public&nbsp;static&nbsp;final&nbsp;boolean</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/SuicideChess.html#BITBOARD_REMOVEPIECE_CHECK_REMOVE">BITBOARD_REMOVEPIECE_CHECK_REMOVE</A></CODE></TD> <TD ALIGN="left"><CODE><A HREF="suicideChess/SuicideChess.html#BITBOARD_REMOVEPIECE_CHECK_REMOVE">BITBOARD_REMOVEPIECE_CHECK_REMOVE</A></CODE></TD>
<TD ALIGN="right"><CODE>true</CODE></TD> <TD ALIGN="right"><CODE>true</CODE></TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.SuicideChess.NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;java.lang.String</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/SuicideChess.html#NAME">NAME</A></CODE></TD>
<TD ALIGN="right"><CODE>"djib\'s SuicideChess v0.1.9"</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.SuicideChess.SQUARE_CHECK_INVALID"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> <A NAME="suicideChess.SuicideChess.SQUARE_CHECK_INVALID"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;boolean</CODE></FONT></TD> <CODE>public&nbsp;static&nbsp;final&nbsp;boolean</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/SuicideChess.html#SQUARE_CHECK_INVALID">SQUARE_CHECK_INVALID</A></CODE></TD> <TD ALIGN="left"><CODE><A HREF="suicideChess/SuicideChess.html#SQUARE_CHECK_INVALID">SQUARE_CHECK_INVALID</A></CODE></TD>
@ -349,6 +361,78 @@ suicideChess.*</FONT></TH>
<P> <P>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="3">suicideChess.<A HREF="suicideChess/XBoardProtocol.html" title="class in suicideChess">XBoardProtocol</A></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.XBoardProtocol.INVALID"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/XBoardProtocol.html#INVALID">INVALID</A></CODE></TD>
<TD ALIGN="right"><CODE>6</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.XBoardProtocol.MOVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/XBoardProtocol.html#MOVE">MOVE</A></CODE></TD>
<TD ALIGN="right"><CODE>5</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.XBoardProtocol.NEW"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/XBoardProtocol.html#NEW">NEW</A></CODE></TD>
<TD ALIGN="right"><CODE>3</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.XBoardProtocol.NOPROTOVER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/XBoardProtocol.html#NOPROTOVER">NOPROTOVER</A></CODE></TD>
<TD ALIGN="right"><CODE>2</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.XBoardProtocol.NOT_ACCEPTED_SUICIDE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/XBoardProtocol.html#NOT_ACCEPTED_SUICIDE">NOT_ACCEPTED_SUICIDE</A></CODE></TD>
<TD ALIGN="right"><CODE>10</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.XBoardProtocol.NOT_ACCEPTED_USERMOVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/XBoardProtocol.html#NOT_ACCEPTED_USERMOVE">NOT_ACCEPTED_USERMOVE</A></CODE></TD>
<TD ALIGN="right"><CODE>9</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.XBoardProtocol.PROTOVER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/XBoardProtocol.html#PROTOVER">PROTOVER</A></CODE></TD>
<TD ALIGN="right"><CODE>1</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.XBoardProtocol.QUIT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/XBoardProtocol.html#QUIT">QUIT</A></CODE></TD>
<TD ALIGN="right"><CODE>4</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.XBoardProtocol.UNKNOWN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/XBoardProtocol.html#UNKNOWN">UNKNOWN</A></CODE></TD>
<TD ALIGN="right"><CODE>-1</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="suicideChess.XBoardProtocol.XBOARD"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="suicideChess/XBoardProtocol.html#XBOARD">XBOARD</A></CODE></TD>
<TD ALIGN="right"><CODE>0</CODE></TD>
</TR>
</FONT></TD>
</TR>
</TABLE>
<P>
<P> <P>
<HR> <HR>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:52 GMT 2006 -->
<TITLE> <TITLE>
Deprecated List Deprecated List
</TITLE> </TITLE>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:53 GMT 2006 -->
<TITLE> <TITLE>
API Help API Help
</TITLE> </TITLE>

View File

@ -2,9 +2,9 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:51 GMT 2006 -->
<TITLE> <TITLE>
B-Index A-Index
</TITLE> </TITLE>
@ -13,7 +13,7 @@ B-Index
<SCRIPT type="text/javascript"> <SCRIPT type="text/javascript">
function windowTitle() function windowTitle()
{ {
parent.document.title="B-Index"; parent.document.title="A-Index";
} }
</SCRIPT> </SCRIPT>
<NOSCRIPT> <NOSCRIPT>
@ -73,47 +73,14 @@ function windowTitle()
<A NAME="skip-navbar_top"></A> <A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
<A NAME="_B_"><!-- --></A><H2> <A NAME="_A_"><!-- --></A><H2>
<B>B</B></H2> <B>A</B></H2>
<DL> <DL>
<DT><A HREF="../suicideChess/Piece.html#BISHOP"><B>BISHOP</B></A> - <DT><A HREF="../suicideChess/SuicideChess.html#ASCII_GAME"><B>ASCII_GAME</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BISHOP_CHAR"><B>BISHOP_CHAR</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/SuicideChess.html#BITBOARD_REMOVEPIECE_CHECK_REMOVE"><B>BITBOARD_REMOVEPIECE_CHECK_REMOVE</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/SuicideChess.html" title="class in suicideChess">SuicideChess</A> Static variable in class suicideChess.<A HREF="../suicideChess/SuicideChess.html" title="class in suicideChess">SuicideChess</A>
<DD>does BitBoard.class removePiece function checks if removing piece is legal ? <DD>Displays informations in the console.
<DT><A HREF="../suicideChess/Piece.html#BLACK"><B>BLACK</B></A> - </DL>
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_BISHOP"><B>BLACK_BISHOP</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_KING"><B>BLACK_KING</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_KNIGHT"><B>BLACK_KNIGHT</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_PAWN"><B>BLACK_PAWN</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_PIECES"><B>BLACK_PIECES</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_QUEEN"><B>BLACK_QUEEN</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_ROOK"><B>BLACK_ROOK</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Board.html" title="class in suicideChess"><B>Board</B></A> - Class in <A HREF="../suicideChess/package-summary.html">suicideChess</A><DD>This class contains the board representation.<DT><A HREF="../suicideChess/Board.html#Board()"><B>Board()</B></A> -
Constructor for class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A>
<DD>Constructor of the class Board
<DT><A HREF="../suicideChess/Board.NoPieceOnSquare.html" title="class in suicideChess"><B>Board.NoPieceOnSquare</B></A> - Exception in <A HREF="../suicideChess/package-summary.html">suicideChess</A><DD>&nbsp;</DL>
<HR> <HR>
@ -166,7 +133,7 @@ Constructor for class suicideChess.<A HREF="../suicideChess/Board.html" title="c
<A NAME="skip-navbar_bottom"></A> <A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= --> <!-- ======== END OF BOTTOM NAVBAR ======= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
</BODY> </BODY>
</HTML> </HTML>

View File

@ -2,9 +2,9 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:52 GMT 2006 -->
<TITLE> <TITLE>
D-Index B-Index
</TITLE> </TITLE>
@ -13,7 +13,7 @@ D-Index
<SCRIPT type="text/javascript"> <SCRIPT type="text/javascript">
function windowTitle() function windowTitle()
{ {
parent.document.title="D-Index"; parent.document.title="B-Index";
} }
</SCRIPT> </SCRIPT>
<NOSCRIPT> <NOSCRIPT>
@ -73,21 +73,47 @@ function windowTitle()
<A NAME="skip-navbar_top"></A> <A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
<A NAME="_D_"><!-- --></A><H2> <A NAME="_B_"><!-- --></A><H2>
<B>D</B></H2> <B>B</B></H2>
<DL> <DL>
<DT><A HREF="../suicideChess/Board.html#display()"><B>display()</B></A> - <DT><A HREF="../suicideChess/Piece.html#BISHOP"><B>BISHOP</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A> Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>This function can be used to display the board <DD>&nbsp;
Black pieces are displayed in uppercase letters. <DT><A HREF="../suicideChess/Piece.html#BISHOP_CHAR"><B>BISHOP_CHAR</B></A> -
<DT><A HREF="../suicideChess/Move.html#display()"><B>display()</B></A> - Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A> <DD>&nbsp;
<DD>Displays a move in great details. <DT><A HREF="../suicideChess/SuicideChess.html#BITBOARD_REMOVEPIECE_CHECK_REMOVE"><B>BITBOARD_REMOVEPIECE_CHECK_REMOVE</B></A> -
<DT><A HREF="../suicideChess/Board.html#doMove(suicideChess.Move)"><B>doMove(Move)</B></A> - Static variable in class suicideChess.<A HREF="../suicideChess/SuicideChess.html" title="class in suicideChess">SuicideChess</A>
Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A> <DD>does BitBoard.class removePiece function checks if removing piece is legal ?
<DD>This methods takes a <A HREF="../suicideChess/Move.html" title="class in suicideChess"><CODE>Move</CODE></A> and applies it (updating the bitboard) <DT><A HREF="../suicideChess/Piece.html#BLACK"><B>BLACK</B></A> -
</DL> Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_BISHOP"><B>BLACK_BISHOP</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_KING"><B>BLACK_KING</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_KNIGHT"><B>BLACK_KNIGHT</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_PAWN"><B>BLACK_PAWN</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_PIECES"><B>BLACK_PIECES</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_QUEEN"><B>BLACK_QUEEN</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Piece.html#BLACK_ROOK"><B>BLACK_ROOK</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp;
<DT><A HREF="../suicideChess/Board.html" title="class in suicideChess"><B>Board</B></A> - Class in <A HREF="../suicideChess/package-summary.html">suicideChess</A><DD>This class contains the board representation.<DT><A HREF="../suicideChess/Board.html#Board()"><B>Board()</B></A> -
Constructor for class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A>
<DD>Constructor of the class Board
<DT><A HREF="../suicideChess/Board.NoPieceOnSquare.html" title="class in suicideChess"><B>Board.NoPieceOnSquare</B></A> - Exception in <A HREF="../suicideChess/package-summary.html">suicideChess</A><DD>&nbsp;</DL>
<HR> <HR>
@ -140,7 +166,7 @@ Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class i
<A NAME="skip-navbar_bottom"></A> <A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= --> <!-- ======== END OF BOTTOM NAVBAR ======= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
</BODY> </BODY>
</HTML> </HTML>

View File

@ -2,9 +2,9 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:52 GMT 2006 -->
<TITLE> <TITLE>
E-Index C-Index
</TITLE> </TITLE>
@ -13,7 +13,7 @@ E-Index
<SCRIPT type="text/javascript"> <SCRIPT type="text/javascript">
function windowTitle() function windowTitle()
{ {
parent.document.title="E-Index"; parent.document.title="C-Index";
} }
</SCRIPT> </SCRIPT>
<NOSCRIPT> <NOSCRIPT>
@ -73,13 +73,13 @@ function windowTitle()
<A NAME="skip-navbar_top"></A> <A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
<A NAME="_E_"><!-- --></A><H2> <A NAME="_C_"><!-- --></A><H2>
<B>E</B></H2> <B>C</B></H2>
<DL> <DL>
<DT><A HREF="../suicideChess/Move.html#enablesEnPassant()"><B>enablesEnPassant()</B></A> - <DT><A HREF="../suicideChess/ComputerPlayer.html" title="class in suicideChess"><B>ComputerPlayer</B></A> - Class in <A HREF="../suicideChess/package-summary.html">suicideChess</A><DD>This class will contain all the AI.<DT><A HREF="../suicideChess/ComputerPlayer.html#ComputerPlayer(int)"><B>ComputerPlayer(int)</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A> Constructor for class suicideChess.<A HREF="../suicideChess/ComputerPlayer.html" title="class in suicideChess">ComputerPlayer</A>
<DD>Returns a boolean saying is a Move makes 'en passant' move possible. <DD>This constructor creates a computer that plays with the given color
</DL> </DL>
<HR> <HR>
@ -133,7 +133,7 @@ Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in
<A NAME="skip-navbar_bottom"></A> <A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= --> <!-- ======== END OF BOTTOM NAVBAR ======= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
</BODY> </BODY>
</HTML> </HTML>

View File

@ -2,9 +2,9 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:52 GMT 2006 -->
<TITLE> <TITLE>
F-Index D-Index
</TITLE> </TITLE>
@ -13,7 +13,7 @@ F-Index
<SCRIPT type="text/javascript"> <SCRIPT type="text/javascript">
function windowTitle() function windowTitle()
{ {
parent.document.title="F-Index"; parent.document.title="D-Index";
} }
</SCRIPT> </SCRIPT>
<NOSCRIPT> <NOSCRIPT>
@ -73,13 +73,26 @@ function windowTitle()
<A NAME="skip-navbar_top"></A> <A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
<A NAME="_F_"><!-- --></A><H2> <A NAME="_D_"><!-- --></A><H2>
<B>F</B></H2> <B>D</B></H2>
<DL> <DL>
<DT><A HREF="../suicideChess/Move.html#fromSquare()"><B>fromSquare()</B></A> - <DT><A HREF="../suicideChess/Board.html#display()"><B>display()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A>
<DD>This function can be used to display the board
Black pieces are displayed in uppercase letters.
<DT><A HREF="../suicideChess/Move.html#display()"><B>display()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A> Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns the <A HREF="../suicideChess/Square.html" title="class in suicideChess"><CODE>Square</CODE></A> to move from in a Move <DD>Displays a move in great details.
<DT><A HREF="../suicideChess/Board.html#doMove(suicideChess.Move)"><B>doMove(Move)</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A>
<DD>This methods takes a <A HREF="../suicideChess/Move.html" title="class in suicideChess"><CODE>Move</CODE></A> and applies it (updating the bitboard)
<DT><A HREF="../suicideChess/ComputerPlayer.html#doMove(suicideChess.Board)"><B>doMove(Board)</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/ComputerPlayer.html" title="class in suicideChess">ComputerPlayer</A>
<DD>This asks the computer to compute a move
<DT><A HREF="../suicideChess/XBoardProtocol.html#doMove(suicideChess.Move)"><B>doMove(Move)</B></A> -
Static method in class suicideChess.<A HREF="../suicideChess/XBoardProtocol.html" title="class in suicideChess">XBoardProtocol</A>
<DD>Sends a move message to XBoard
</DL> </DL>
<HR> <HR>
@ -133,7 +146,7 @@ Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in
<A NAME="skip-navbar_bottom"></A> <A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= --> <!-- ======== END OF BOTTOM NAVBAR ======= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
</BODY> </BODY>
</HTML> </HTML>

View File

@ -2,9 +2,9 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:52 GMT 2006 -->
<TITLE> <TITLE>
G-Index E-Index
</TITLE> </TITLE>
@ -13,7 +13,7 @@ G-Index
<SCRIPT type="text/javascript"> <SCRIPT type="text/javascript">
function windowTitle() function windowTitle()
{ {
parent.document.title="G-Index"; parent.document.title="E-Index";
} }
</SCRIPT> </SCRIPT>
<NOSCRIPT> <NOSCRIPT>
@ -73,54 +73,13 @@ function windowTitle()
<A NAME="skip-navbar_top"></A> <A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
<A NAME="_G_"><!-- --></A><H2> <A NAME="_E_"><!-- --></A><H2>
<B>G</B></H2> <B>E</B></H2>
<DL> <DL>
<DT><A HREF="../suicideChess/Move.html#getCapturedPiece()"><B>getCapturedPiece()</B></A> - <DT><A HREF="../suicideChess/Move.html#enablesEnPassant()"><B>enablesEnPassant()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A> Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns the <A HREF="../suicideChess/Piece.html" title="class in suicideChess"><CODE>Piece</CODE></A> to be captured in a Move <DD>Returns a boolean saying is a Move makes 'en passant' move possible.
<DT><A HREF="../suicideChess/Piece.html#getColor()"><B>getColor()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>Returns an integer representing the color of the Piece.
<DT><A HREF="../suicideChess/Board.html#getEnPassantSquare()"><B>getEnPassantSquare()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A>
<DD>This function is used to return the 'en passant' Square.
<DT><A HREF="../suicideChess/Move.html#getEnPassantSquare()"><B>getEnPassantSquare()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns the enPassant Square for a move.
<DT><A HREF="../suicideChess/Square.html#getFile()"><B>getFile()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Square.html" title="class in suicideChess">Square</A>
<DD>Returns the file of a Square.
<DT><A HREF="../suicideChess/Square.html#getFileNb()"><B>getFileNb()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Square.html" title="class in suicideChess">Square</A>
<DD>Returns the number of the File
<DT><A HREF="../suicideChess/Rules.html#getLegalMovesCapture()"><B>getLegalMovesCapture()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Rules.html" title="class in suicideChess">Rules</A>
<DD>This function return the current status of the ArrayList<Move> of all legal <A HREF="../suicideChess/Move.html" title="class in suicideChess"><CODE>Move</CODE></A>
with a capture.
<DT><A HREF="../suicideChess/Rules.html#getLegalMovesNonCapture()"><B>getLegalMovesNonCapture()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Rules.html" title="class in suicideChess">Rules</A>
<DD>This function return the current status of the ArrayList<Move> of all legal <A HREF="../suicideChess/Move.html" title="class in suicideChess"><CODE>Move</CODE></A>
without a capture.
<DT><A HREF="../suicideChess/Move.html#getMovingPiece()"><B>getMovingPiece()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns the moving <A HREF="../suicideChess/Piece.html" title="class in suicideChess"><CODE>Piece</CODE></A> of a Move.
<DT><A HREF="../suicideChess/Board.html#getPiece(suicideChess.Square)"><B>getPiece(Square)</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A>
<DD>This function searchs for what piece is on a square.
<DT><A HREF="../suicideChess/Piece.html#getPieceNumber()"><B>getPieceNumber()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>Returns an integer representing the Piece (Piece.BLACK_PAWN or Piece.WHITE_QUEEN)
<DT><A HREF="../suicideChess/Piece.html#getPieceType()"><B>getPieceType()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>Returns an integer representing the Piece type (Piece.QUEEN or Piece.PAWN)
<DT><A HREF="../suicideChess/Move.html#getPromotionPiece()"><B>getPromotionPiece()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns the promotion <A HREF="../suicideChess/Piece.html" title="class in suicideChess"><CODE>Piece</CODE></A> of a Move
<DT><A HREF="../suicideChess/Square.html#getRank()"><B>getRank()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Square.html" title="class in suicideChess">Square</A>
<DD>Returns the number of the Rank
</DL> </DL>
<HR> <HR>
@ -174,7 +133,7 @@ Method in class suicideChess.<A HREF="../suicideChess/Square.html" title="class
<A NAME="skip-navbar_bottom"></A> <A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= --> <!-- ======== END OF BOTTOM NAVBAR ======= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
</BODY> </BODY>
</HTML> </HTML>

View File

@ -2,9 +2,9 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:52 GMT 2006 -->
<TITLE> <TITLE>
I-Index F-Index
</TITLE> </TITLE>
@ -13,7 +13,7 @@ I-Index
<SCRIPT type="text/javascript"> <SCRIPT type="text/javascript">
function windowTitle() function windowTitle()
{ {
parent.document.title="I-Index"; parent.document.title="F-Index";
} }
</SCRIPT> </SCRIPT>
<NOSCRIPT> <NOSCRIPT>
@ -73,31 +73,13 @@ function windowTitle()
<A NAME="skip-navbar_top"></A> <A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
<A NAME="_I_"><!-- --></A><H2> <A NAME="_F_"><!-- --></A><H2>
<B>I</B></H2> <B>F</B></H2>
<DL> <DL>
<DT><A HREF="../suicideChess/Move.html#isCaptureMove()"><B>isCaptureMove()</B></A> - <DT><A HREF="../suicideChess/Move.html#fromSquare()"><B>fromSquare()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A> Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns a boolean saying if a Move is a capture move <DD>Returns the <A HREF="../suicideChess/Square.html" title="class in suicideChess"><CODE>Square</CODE></A> to move from in a Move
<DT><A HREF="../suicideChess/Board.html#isEmpty(suicideChess.Square, suicideChess.Piece)"><B>isEmpty(Square, Piece)</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A>
<DD>This function returns a boolean telling if a <A HREF="../suicideChess/Piece.html" title="class in suicideChess"><CODE>Piece</CODE></A> is on a <A HREF="../suicideChess/Board.NoPieceOnSquare.html" title="class in suicideChess"><CODE>Board.NoPieceOnSquare</CODE></A>.
<DT><A HREF="../suicideChess/Board.html#isEnPassant()"><B>isEnPassant()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A>
<DD>This function returns a boolean saying if the board is in an 'en passant' state.
<DT><A HREF="../suicideChess/Move.html#isEnPassant()"><B>isEnPassant()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns a boolean saying is a Move is an 'en passant' move.
<DT><A HREF="../suicideChess/Square.html#isEqual(suicideChess.Square)"><B>isEqual(Square)</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Square.html" title="class in suicideChess">Square</A>
<DD>Returns a boolean telling if two squares are the same
<DT><A HREF="../suicideChess/Move.html#isPromotionMove()"><B>isPromotionMove()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns a boolean saying if a Move is a promotion or not.
<DT><A HREF="../suicideChess/Move.html#isSimpleEqual(suicideChess.Move)"><B>isSimpleEqual(Move)</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Tests the equality of two moves by just looking at the fromSquare and the toSquare
</DL> </DL>
<HR> <HR>
@ -151,7 +133,7 @@ Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in
<A NAME="skip-navbar_bottom"></A> <A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= --> <!-- ======== END OF BOTTOM NAVBAR ======= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
</BODY> </BODY>
</HTML> </HTML>

View File

@ -2,9 +2,9 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:52 GMT 2006 -->
<TITLE> <TITLE>
K-Index G-Index
</TITLE> </TITLE>
@ -13,7 +13,7 @@ K-Index
<SCRIPT type="text/javascript"> <SCRIPT type="text/javascript">
function windowTitle() function windowTitle()
{ {
parent.document.title="K-Index"; parent.document.title="G-Index";
} }
</SCRIPT> </SCRIPT>
<NOSCRIPT> <NOSCRIPT>
@ -73,22 +73,57 @@ function windowTitle()
<A NAME="skip-navbar_top"></A> <A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
<A NAME="_K_"><!-- --></A><H2> <A NAME="_G_"><!-- --></A><H2>
<B>K</B></H2> <B>G</B></H2>
<DL> <DL>
<DT><A HREF="../suicideChess/Piece.html#KING"><B>KING</B></A> - <DT><A HREF="../suicideChess/Move.html#getCapturedPiece()"><B>getCapturedPiece()</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A> Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>&nbsp; <DD>Returns the <A HREF="../suicideChess/Piece.html" title="class in suicideChess"><CODE>Piece</CODE></A> to be captured in a Move
<DT><A HREF="../suicideChess/Piece.html#KING_CHAR"><B>KING_CHAR</B></A> - <DT><A HREF="../suicideChess/Piece.html#getColor()"><B>getColor()</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A> Method in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp; <DD>Returns an integer representing the color of the Piece.
<DT><A HREF="../suicideChess/Piece.html#KNIGHT"><B>KNIGHT</B></A> - <DT><A HREF="../suicideChess/XBoardProtocol.html#getCommand(java.lang.String)"><B>getCommand(String)</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A> Static method in class suicideChess.<A HREF="../suicideChess/XBoardProtocol.html" title="class in suicideChess">XBoardProtocol</A>
<DD>&nbsp; <DD>Interprets XBoard Commands
<DT><A HREF="../suicideChess/Piece.html#KNIGHT_CHAR"><B>KNIGHT_CHAR</B></A> - <DT><A HREF="../suicideChess/Board.html#getEnPassantSquare()"><B>getEnPassantSquare()</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A> Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A>
<DD>&nbsp; <DD>This function is used to return the 'en passant' Square.
<DT><A HREF="../suicideChess/Move.html#getEnPassantSquare()"><B>getEnPassantSquare()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns the enPassant Square for a move.
<DT><A HREF="../suicideChess/Square.html#getFile()"><B>getFile()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Square.html" title="class in suicideChess">Square</A>
<DD>Returns the file of a Square.
<DT><A HREF="../suicideChess/Square.html#getFileNb()"><B>getFileNb()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Square.html" title="class in suicideChess">Square</A>
<DD>Returns the number of the File
<DT><A HREF="../suicideChess/Rules.html#getLegalMovesCapture()"><B>getLegalMovesCapture()</B></A> -
Static method in class suicideChess.<A HREF="../suicideChess/Rules.html" title="class in suicideChess">Rules</A>
<DD>This function return the current status of the ArrayList<Move> of all legal <A HREF="../suicideChess/Move.html" title="class in suicideChess"><CODE>Move</CODE></A>
with a capture.
<DT><A HREF="../suicideChess/Rules.html#getLegalMovesNonCapture()"><B>getLegalMovesNonCapture()</B></A> -
Static method in class suicideChess.<A HREF="../suicideChess/Rules.html" title="class in suicideChess">Rules</A>
<DD>This function return the current status of the ArrayList<Move> of all legal <A HREF="../suicideChess/Move.html" title="class in suicideChess"><CODE>Move</CODE></A>
without a capture.
<DT><A HREF="../suicideChess/Move.html#getMovingPiece()"><B>getMovingPiece()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns the moving <A HREF="../suicideChess/Piece.html" title="class in suicideChess"><CODE>Piece</CODE></A> of a Move.
<DT><A HREF="../suicideChess/Board.html#getPiece(suicideChess.Square)"><B>getPiece(Square)</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A>
<DD>This function searchs for what piece is on a square.
<DT><A HREF="../suicideChess/Piece.html#getPieceNumber()"><B>getPieceNumber()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>Returns an integer representing the Piece (Piece.BLACK_PAWN or Piece.WHITE_QUEEN)
<DT><A HREF="../suicideChess/Piece.html#getPieceType()"><B>getPieceType()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>Returns an integer representing the Piece type (Piece.QUEEN or Piece.PAWN)
<DT><A HREF="../suicideChess/Move.html#getPromotionPiece()"><B>getPromotionPiece()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns the promotion <A HREF="../suicideChess/Piece.html" title="class in suicideChess"><CODE>Piece</CODE></A> of a Move
<DT><A HREF="../suicideChess/Square.html#getRank()"><B>getRank()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Square.html" title="class in suicideChess">Square</A>
<DD>Returns the number of the Rank
</DL> </DL>
<HR> <HR>
@ -142,7 +177,7 @@ Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title
<A NAME="skip-navbar_bottom"></A> <A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= --> <!-- ======== END OF BOTTOM NAVBAR ======= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
</BODY> </BODY>
</HTML> </HTML>

View File

@ -2,9 +2,9 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:52 GMT 2006 -->
<TITLE> <TITLE>
L-Index I-Index
</TITLE> </TITLE>
@ -13,7 +13,7 @@ L-Index
<SCRIPT type="text/javascript"> <SCRIPT type="text/javascript">
function windowTitle() function windowTitle()
{ {
parent.document.title="L-Index"; parent.document.title="I-Index";
} }
</SCRIPT> </SCRIPT>
<NOSCRIPT> <NOSCRIPT>
@ -73,18 +73,37 @@ function windowTitle()
<A NAME="skip-navbar_top"></A> <A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
<A NAME="_L_"><!-- --></A><H2> <A NAME="_I_"><!-- --></A><H2>
<B>L</B></H2> <B>I</B></H2>
<DL> <DL>
<DT><A HREF="../suicideChess/Rules.html#legalMovesForPlayer(suicideChess.Board, int)"><B>legalMovesForPlayer(Board, int)</B></A> - <DT><A HREF="../suicideChess/XBoardProtocol.html#initialise()"><B>initialise()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Rules.html" title="class in suicideChess">Rules</A> Static method in class suicideChess.<A HREF="../suicideChess/XBoardProtocol.html" title="class in suicideChess">XBoardProtocol</A>
<DD>Computes the possible moves according to the current status of the <A HREF="../suicideChess/Board.html" title="class in suicideChess"><CODE>Board</CODE></A> and the <DD>This function initialises the communications with XBoard.
color of the current player. <DT><A HREF="../suicideChess/XBoardProtocol.html#INVALID"><B>INVALID</B></A> -
<DT><A HREF="../suicideChess/Rules.html#legalMovesFromSquare(suicideChess.Square, suicideChess.Board)"><B>legalMovesFromSquare(Square, Board)</B></A> - Static variable in class suicideChess.<A HREF="../suicideChess/XBoardProtocol.html" title="class in suicideChess">XBoardProtocol</A>
Method in class suicideChess.<A HREF="../suicideChess/Rules.html" title="class in suicideChess">Rules</A> <DD>Received an invalid move
<DD>Computes the possible moves from a given <A HREF="../suicideChess/Square.html" title="class in suicideChess"><CODE>Square</CODE></A> <DT><A HREF="../suicideChess/Move.html#isCaptureMove()"><B>isCaptureMove()</B></A> -
according to the current status of the <A HREF="../suicideChess/Board.html" title="class in suicideChess"><CODE>Board</CODE></A> Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns a boolean saying if a Move is a capture move
<DT><A HREF="../suicideChess/Board.html#isEmpty(suicideChess.Square, suicideChess.Piece)"><B>isEmpty(Square, Piece)</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A>
<DD>This function returns a boolean telling if a <A HREF="../suicideChess/Piece.html" title="class in suicideChess"><CODE>Piece</CODE></A> is on a <A HREF="../suicideChess/Board.NoPieceOnSquare.html" title="class in suicideChess"><CODE>Board.NoPieceOnSquare</CODE></A>.
<DT><A HREF="../suicideChess/Board.html#isEnPassant()"><B>isEnPassant()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess">Board</A>
<DD>This function returns a boolean saying if the board is in an 'en passant' state.
<DT><A HREF="../suicideChess/Move.html#isEnPassant()"><B>isEnPassant()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns a boolean saying is a Move is an 'en passant' move.
<DT><A HREF="../suicideChess/Square.html#isEqual(suicideChess.Square)"><B>isEqual(Square)</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Square.html" title="class in suicideChess">Square</A>
<DD>Returns a boolean telling if two squares are the same
<DT><A HREF="../suicideChess/Move.html#isPromotionMove()"><B>isPromotionMove()</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Returns a boolean saying if a Move is a promotion or not.
<DT><A HREF="../suicideChess/Move.html#isSimpleEqual(suicideChess.Move)"><B>isSimpleEqual(Move)</B></A> -
Method in class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A>
<DD>Tests the equality of two moves by just looking at the fromSquare and the toSquare
</DL> </DL>
<HR> <HR>
@ -138,7 +157,7 @@ Method in class suicideChess.<A HREF="../suicideChess/Rules.html" title="class i
<A NAME="skip-navbar_bottom"></A> <A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= --> <!-- ======== END OF BOTTOM NAVBAR ======= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
</BODY> </BODY>
</HTML> </HTML>

View File

@ -2,9 +2,9 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:52 GMT 2006 -->
<TITLE> <TITLE>
M-Index K-Index
</TITLE> </TITLE>
@ -13,7 +13,7 @@ M-Index
<SCRIPT type="text/javascript"> <SCRIPT type="text/javascript">
function windowTitle() function windowTitle()
{ {
parent.document.title="M-Index"; parent.document.title="K-Index";
} }
</SCRIPT> </SCRIPT>
<NOSCRIPT> <NOSCRIPT>
@ -73,26 +73,23 @@ function windowTitle()
<A NAME="skip-navbar_top"></A> <A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
<A NAME="_M_"><!-- --></A><H2> <A NAME="_K_"><!-- --></A><H2>
<B>M</B></H2> <B>K</B></H2>
<DL> <DL>
<DT><A HREF="../suicideChess/SuicideChess.html#main(java.lang.String[])"><B>main(String[])</B></A> - <DT><A HREF="../suicideChess/Piece.html#KING"><B>KING</B></A> -
Static method in class suicideChess.<A HREF="../suicideChess/SuicideChess.html" title="class in suicideChess">SuicideChess</A>
<DD>The main function
<DT><A HREF="../suicideChess/Piece.html#MAX_PIECE_NUMBER"><B>MAX_PIECE_NUMBER</B></A> -
Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A> Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>&nbsp; <DD>&nbsp;
<DT><A HREF="../suicideChess/Move.html" title="class in suicideChess"><B>Move</B></A> - Class in <A HREF="../suicideChess/package-summary.html">suicideChess</A><DD>This class is used for moves representation.<DT><A HREF="../suicideChess/Move.html#Move(java.lang.String, suicideChess.Board)"><B>Move(String, Board)</B></A> - <DT><A HREF="../suicideChess/Piece.html#KING_CHAR"><B>KING_CHAR</B></A> -
Constructor for class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A> Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>This is the constructor of the class. <DD>&nbsp;
<DT><A HREF="../suicideChess/Move.html#Move(suicideChess.Square, suicideChess.Square, suicideChess.Piece, suicideChess.Piece, suicideChess.Piece)"><B>Move(Square, Square, Piece, Piece, Piece)</B></A> - <DT><A HREF="../suicideChess/Piece.html#KNIGHT"><B>KNIGHT</B></A> -
Constructor for class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A> Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>This is the constructor of the class. <DD>&nbsp;
<DT><A HREF="../suicideChess/Move.html#Move(suicideChess.Square, suicideChess.Square, suicideChess.Square, suicideChess.Piece, boolean)"><B>Move(Square, Square, Square, Piece, boolean)</B></A> - <DT><A HREF="../suicideChess/Piece.html#KNIGHT_CHAR"><B>KNIGHT_CHAR</B></A> -
Constructor for class suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A> Static variable in class suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess">Piece</A>
<DD>This is the constructor of the class. <DD>&nbsp;
<DT><A HREF="../suicideChess/Move.NotAValidMoveException.html" title="class in suicideChess"><B>Move.NotAValidMoveException</B></A> - Exception in <A HREF="../suicideChess/package-summary.html">suicideChess</A><DD>&nbsp;</DL> </DL>
<HR> <HR>
@ -145,7 +142,7 @@ Constructor for class suicideChess.<A HREF="../suicideChess/Move.html" title="cl
<A NAME="skip-navbar_bottom"></A> <A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= --> <!-- ======== END OF BOTTOM NAVBAR ======= -->
<A HREF="index-1.html">B</A> <A HREF="index-2.html">D</A> <A HREF="index-3.html">E</A> <A HREF="index-4.html">F</A> <A HREF="index-5.html">G</A> <A HREF="index-6.html">I</A> <A HREF="index-7.html">K</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">N</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">W</A> <HR> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">U</A> <A HREF="index-19.html">W</A> <A HREF="index-20.html">X</A> <HR>
</BODY> </BODY>
</HTML> </HTML>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc on Fri Jan 13 17:00:38 GMT 2006--> <!-- Generated by javadoc on Tue Jan 17 15:42:52 GMT 2006-->
<TITLE> <TITLE>
Generated Documentation (Untitled) Generated Documentation (Untitled)
</TITLE> </TITLE>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:51 GMT 2006 -->
<TITLE> <TITLE>
Class Hierarchy Class Hierarchy
</TITLE> </TITLE>
@ -86,12 +86,12 @@ Class Hierarchy
</H2> </H2>
<UL> <UL>
<LI TYPE="circle">java.lang.Object<UL> <LI TYPE="circle">java.lang.Object<UL>
<LI TYPE="circle">suicideChess.<A HREF="suicideChess/Board.html" title="class in suicideChess"><B>Board</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Move.html" title="class in suicideChess"><B>Move</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Piece.html" title="class in suicideChess"><B>Piece</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Rules.html" title="class in suicideChess"><B>Rules</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Square.html" title="class in suicideChess"><B>Square</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/SuicideChess.html" title="class in suicideChess"><B>SuicideChess</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable) <LI TYPE="circle">suicideChess.<A HREF="suicideChess/Board.html" title="class in suicideChess"><B>Board</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/ComputerPlayer.html" title="class in suicideChess"><B>ComputerPlayer</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Move.html" title="class in suicideChess"><B>Move</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Piece.html" title="class in suicideChess"><B>Piece</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Rules.html" title="class in suicideChess"><B>Rules</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Square.html" title="class in suicideChess"><B>Square</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/SuicideChess.html" title="class in suicideChess"><B>SuicideChess</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable)
<UL> <UL>
<LI TYPE="circle">java.lang.Exception<UL> <LI TYPE="circle">java.lang.Exception<UL>
<LI TYPE="circle">suicideChess.<A HREF="suicideChess/Board.NoPieceOnSquare.html" title="class in suicideChess"><B>Board.NoPieceOnSquare</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Move.NotAValidMoveException.html" title="class in suicideChess"><B>Move.NotAValidMoveException</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Rules.UnexpectedError.html" title="class in suicideChess"><B>Rules.UnexpectedError</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Square.NotAValidSquare.html" title="class in suicideChess"><B>Square.NotAValidSquare</B></A></UL> <LI TYPE="circle">suicideChess.<A HREF="suicideChess/Board.NoPieceOnSquare.html" title="class in suicideChess"><B>Board.NoPieceOnSquare</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Move.NotAValidMoveException.html" title="class in suicideChess"><B>Move.NotAValidMoveException</B></A><LI TYPE="circle">suicideChess.<A HREF="suicideChess/Square.NotAValidSquare.html" title="class in suicideChess"><B>Square.NotAValidSquare</B></A></UL>
</UL>
</UL> </UL>
<LI TYPE="circle">suicideChess.<A HREF="suicideChess/XBoardProtocol.html" title="class in suicideChess"><B>XBoardProtocol</B></A></UL>
</UL> </UL>
<HR> <HR>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:49 GMT 2006 -->
<TITLE> <TITLE>
Serialized Form Serialized Form
</TITLE> </TITLE>
@ -115,20 +115,6 @@ Serialized Form</H1>
<P> <P>
<P>
<A NAME="suicideChess.Rules.UnexpectedError"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Class <A HREF="suicideChess/Rules.UnexpectedError.html" title="class in suicideChess">suicideChess.Rules.UnexpectedError</A> extends java.lang.Exception implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>7448113740797323379L
<P>
<P> <P>
<A NAME="suicideChess.Square.NotAValidSquare"><!-- --></A> <A NAME="suicideChess.Square.NotAValidSquare"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:37 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:45 GMT 2006 -->
<TITLE> <TITLE>
Board.NoPieceOnSquare Board.NoPieceOnSquare
</TITLE> </TITLE>
@ -52,7 +52,7 @@ function windowTitle()
<TR> <TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../suicideChess/Board.html" title="class in suicideChess"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../suicideChess/Board.html" title="class in suicideChess"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../suicideChess/Move.html" title="class in suicideChess"><B>NEXT CLASS</B></A></FONT></TD> &nbsp;<A HREF="../suicideChess/ComputerPlayer.html" title="class in suicideChess"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?suicideChess/Board.NoPieceOnSquare.html" target="_top"><B>FRAMES</B></A> &nbsp; <A HREF="../index.html?suicideChess/Board.NoPieceOnSquare.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Board.NoPieceOnSquare.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<A HREF="Board.NoPieceOnSquare.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
@ -171,7 +171,7 @@ java.lang.Object
<TR> <TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../suicideChess/Board.html" title="class in suicideChess"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../suicideChess/Board.html" title="class in suicideChess"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../suicideChess/Move.html" title="class in suicideChess"><B>NEXT CLASS</B></A></FONT></TD> &nbsp;<A HREF="../suicideChess/ComputerPlayer.html" title="class in suicideChess"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?suicideChess/Board.NoPieceOnSquare.html" target="_top"><B>FRAMES</B></A> &nbsp; <A HREF="../index.html?suicideChess/Board.NoPieceOnSquare.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Board.NoPieceOnSquare.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<A HREF="Board.NoPieceOnSquare.html" target="_top"><B>NO FRAMES</B></A> &nbsp;

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:36 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:44 GMT 2006 -->
<TITLE> <TITLE>
Board Board
</TITLE> </TITLE>
@ -108,7 +108,7 @@ This class contains the board representation.
<P> <P>
<DL> <DL>
<DT><B>Version:</B></DT> <DT><B>Version:</B></DT>
<DD>$LastChangedRevision: 27 $, $LastChangedDate: 2006-01-13 16:48:21 +0000 (Fri, 13 Jan 2006) $</DD> <DD>$LastChangedRevision$, $LastChangedDate$</DD>
<DT><B>Author:</B></DT> <DT><B>Author:</B></DT>
<DD>Jean-Baptiste H&eacute;tier</DD> <DD>Jean-Baptiste H&eacute;tier</DD>
</DL> </DL>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:37 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:47 GMT 2006 -->
<TITLE> <TITLE>
Move.NotAValidMoveException Move.NotAValidMoveException
</TITLE> </TITLE>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:37 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:46 GMT 2006 -->
<TITLE> <TITLE>
Move Move
</TITLE> </TITLE>
@ -51,7 +51,7 @@ function windowTitle()
<TR> <TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../suicideChess/Board.NoPieceOnSquare.html" title="class in suicideChess"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../suicideChess/ComputerPlayer.html" title="class in suicideChess"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../suicideChess/Move.NotAValidMoveException.html" title="class in suicideChess"><B>NEXT CLASS</B></A></FONT></TD> &nbsp;<A HREF="../suicideChess/Move.NotAValidMoveException.html" title="class in suicideChess"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?suicideChess/Move.html" target="_top"><B>FRAMES</B></A> &nbsp; <A HREF="../index.html?suicideChess/Move.html" target="_top"><B>FRAMES</B></A> &nbsp;
@ -103,7 +103,7 @@ This class is used for moves representation.
<P> <P>
<DL> <DL>
<DT><B>Version:</B></DT> <DT><B>Version:</B></DT>
<DD>$LastChangedRevision: 27 $, $LastChangedDate: 2006-01-13 16:48:21 +0000 (Fri, 13 Jan 2006) $</DD> <DD>$LastChangedRevision$, $LastChangedDate$</DD>
<DT><B>Author:</B></DT> <DT><B>Author:</B></DT>
<DD>Jean-Baptiste H&eacute;tier</DD> <DD>Jean-Baptiste H&eacute;tier</DD>
</DL> </DL>
@ -578,7 +578,7 @@ public void <B>display</B>()</PRE>
<TR> <TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../suicideChess/Board.NoPieceOnSquare.html" title="class in suicideChess"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../suicideChess/ComputerPlayer.html" title="class in suicideChess"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../suicideChess/Move.NotAValidMoveException.html" title="class in suicideChess"><B>NEXT CLASS</B></A></FONT></TD> &nbsp;<A HREF="../suicideChess/Move.NotAValidMoveException.html" title="class in suicideChess"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?suicideChess/Move.html" target="_top"><B>FRAMES</B></A> &nbsp; <A HREF="../index.html?suicideChess/Move.html" target="_top"><B>FRAMES</B></A> &nbsp;

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:51 GMT 2006 -->
<TITLE> <TITLE>
Uses of Class suicideChess.Board.NoPieceOnSquare Uses of Class suicideChess.Board.NoPieceOnSquare
</TITLE> </TITLE>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:51 GMT 2006 -->
<TITLE> <TITLE>
Uses of Class suicideChess.Board Uses of Class suicideChess.Board
</TITLE> </TITLE>
@ -94,7 +94,15 @@ Uses of <A HREF="../../suicideChess/Board.html" title="class in suicideChess">Bo
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD> <CODE>&nbsp;<A HREF="../../suicideChess/Move.html" title="class in suicideChess">Move</A></CODE></FONT></TD>
<TD><CODE><B>ComputerPlayer.</B><B><A HREF="../../suicideChess/ComputerPlayer.html#doMove(suicideChess.Board)">doMove</A></B>(<A HREF="../../suicideChess/Board.html" title="class in suicideChess">Board</A>&nbsp;bitboard)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This asks the computer to compute a move</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B>Rules.</B><B><A HREF="../../suicideChess/Rules.html#legalMovesForPlayer(suicideChess.Board, int)">legalMovesForPlayer</A></B>(<A HREF="../../suicideChess/Board.html" title="class in suicideChess">Board</A>&nbsp;board, <TD><CODE><B>Rules.</B><B><A HREF="../../suicideChess/Rules.html#legalMovesForPlayer(suicideChess.Board, int)">legalMovesForPlayer</A></B>(<A HREF="../../suicideChess/Board.html" title="class in suicideChess">Board</A>&nbsp;board,
int&nbsp;color)</CODE> int&nbsp;color)</CODE>
@ -104,7 +112,7 @@ Uses of <A HREF="../../suicideChess/Board.html" title="class in suicideChess">Bo
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD> <CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B>Rules.</B><B><A HREF="../../suicideChess/Rules.html#legalMovesFromSquare(suicideChess.Square, suicideChess.Board)">legalMovesFromSquare</A></B>(<A HREF="../../suicideChess/Square.html" title="class in suicideChess">Square</A>&nbsp;fromSquare, <TD><CODE><B>Rules.</B><B><A HREF="../../suicideChess/Rules.html#legalMovesFromSquare(suicideChess.Square, suicideChess.Board)">legalMovesFromSquare</A></B>(<A HREF="../../suicideChess/Square.html" title="class in suicideChess">Square</A>&nbsp;fromSquare,
<A HREF="../../suicideChess/Board.html" title="class in suicideChess">Board</A>&nbsp;board)</CODE> <A HREF="../../suicideChess/Board.html" title="class in suicideChess">Board</A>&nbsp;board)</CODE>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:51 GMT 2006 -->
<TITLE> <TITLE>
Uses of Class suicideChess.Move.NotAValidMoveException Uses of Class suicideChess.Move.NotAValidMoveException
</TITLE> </TITLE>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:51 GMT 2006 -->
<TITLE> <TITLE>
Uses of Class suicideChess.Move Uses of Class suicideChess.Move
</TITLE> </TITLE>
@ -88,13 +88,29 @@ Uses of <A HREF="../../suicideChess/Move.html" title="class in suicideChess">Mov
&nbsp; &nbsp;
<P> <P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../suicideChess/package-summary.html">suicideChess</A> that return <A HREF="../../suicideChess/Move.html" title="class in suicideChess">Move</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../suicideChess/Move.html" title="class in suicideChess">Move</A></CODE></FONT></TD>
<TD><CODE><B>ComputerPlayer.</B><B><A HREF="../../suicideChess/ComputerPlayer.html#doMove(suicideChess.Board)">doMove</A></B>(<A HREF="../../suicideChess/Board.html" title="class in suicideChess">Board</A>&nbsp;bitboard)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This asks the computer to compute a move</TD>
</TR>
</TABLE>
&nbsp;
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../suicideChess/package-summary.html">suicideChess</A> that return types with arguments of type <A HREF="../../suicideChess/Move.html" title="class in suicideChess">Move</A></FONT></TH> <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../suicideChess/package-summary.html">suicideChess</A> that return types with arguments of type <A HREF="../../suicideChess/Move.html" title="class in suicideChess">Move</A></FONT></TH>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.ArrayList&lt;<A HREF="../../suicideChess/Move.html" title="class in suicideChess">Move</A>&gt;</CODE></FONT></TD> <CODE>static&nbsp;java.util.ArrayList&lt;<A HREF="../../suicideChess/Move.html" title="class in suicideChess">Move</A>&gt;</CODE></FONT></TD>
<TD><CODE><B>Rules.</B><B><A HREF="../../suicideChess/Rules.html#getLegalMovesCapture()">getLegalMovesCapture</A></B>()</CODE> <TD><CODE><B>Rules.</B><B><A HREF="../../suicideChess/Rules.html#getLegalMovesCapture()">getLegalMovesCapture</A></B>()</CODE>
<BR> <BR>
@ -103,7 +119,7 @@ Uses of <A HREF="../../suicideChess/Move.html" title="class in suicideChess">Mov
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.ArrayList&lt;<A HREF="../../suicideChess/Move.html" title="class in suicideChess">Move</A>&gt;</CODE></FONT></TD> <CODE>static&nbsp;java.util.ArrayList&lt;<A HREF="../../suicideChess/Move.html" title="class in suicideChess">Move</A>&gt;</CODE></FONT></TD>
<TD><CODE><B>Rules.</B><B><A HREF="../../suicideChess/Rules.html#getLegalMovesNonCapture()">getLegalMovesNonCapture</A></B>()</CODE> <TD><CODE><B>Rules.</B><B><A HREF="../../suicideChess/Rules.html#getLegalMovesNonCapture()">getLegalMovesNonCapture</A></B>()</CODE>
<BR> <BR>
@ -120,6 +136,14 @@ Uses of <A HREF="../../suicideChess/Move.html" title="class in suicideChess">Mov
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B>XBoardProtocol.</B><B><A HREF="../../suicideChess/XBoardProtocol.html#doMove(suicideChess.Move)">doMove</A></B>(<A HREF="../../suicideChess/Move.html" title="class in suicideChess">Move</A>&nbsp;move)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sends a move message to XBoard</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD> <CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B>Board.</B><B><A HREF="../../suicideChess/Board.html#doMove(suicideChess.Move)">doMove</A></B>(<A HREF="../../suicideChess/Move.html" title="class in suicideChess">Move</A>&nbsp;move)</CODE> <TD><CODE><B>Board.</B><B><A HREF="../../suicideChess/Board.html#doMove(suicideChess.Move)">doMove</A></B>(<A HREF="../../suicideChess/Move.html" title="class in suicideChess">Move</A>&nbsp;move)</CODE>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:37 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:48 GMT 2006 -->
<TITLE> <TITLE>
suicideChess suicideChess
</TITLE> </TITLE>
@ -25,6 +25,8 @@ Classes</FONT>&nbsp;
<BR> <BR>
<A HREF="Board.html" title="class in suicideChess" target="classFrame">Board</A> <A HREF="Board.html" title="class in suicideChess" target="classFrame">Board</A>
<BR> <BR>
<A HREF="ComputerPlayer.html" title="class in suicideChess" target="classFrame">ComputerPlayer</A>
<BR>
<A HREF="Move.html" title="class in suicideChess" target="classFrame">Move</A> <A HREF="Move.html" title="class in suicideChess" target="classFrame">Move</A>
<BR> <BR>
<A HREF="Piece.html" title="class in suicideChess" target="classFrame">Piece</A> <A HREF="Piece.html" title="class in suicideChess" target="classFrame">Piece</A>
@ -33,7 +35,9 @@ Classes</FONT>&nbsp;
<BR> <BR>
<A HREF="Square.html" title="class in suicideChess" target="classFrame">Square</A> <A HREF="Square.html" title="class in suicideChess" target="classFrame">Square</A>
<BR> <BR>
<A HREF="SuicideChess.html" title="class in suicideChess" target="classFrame">SuicideChess</A></FONT></TD> <A HREF="SuicideChess.html" title="class in suicideChess" target="classFrame">SuicideChess</A>
<BR>
<A HREF="XBoardProtocol.html" title="class in suicideChess" target="classFrame">XBoardProtocol</A></FONT></TD>
</TR> </TR>
</TABLE> </TABLE>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:49 GMT 2006 -->
<TITLE> <TITLE>
suicideChess suicideChess
</TITLE> </TITLE>
@ -89,6 +89,10 @@ Package suicideChess
<TD>This class contains the board representation.</TD> <TD>This class contains the board representation.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../suicideChess/ComputerPlayer.html" title="class in suicideChess">ComputerPlayer</A></B></TD>
<TD>This class will contain all the AI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A></B></TD> <TD WIDTH="15%"><B><A HREF="../suicideChess/Move.html" title="class in suicideChess">Move</A></B></TD>
<TD>This class is used for moves representation.</TD> <TD>This class is used for moves representation.</TD>
</TR> </TR>
@ -108,6 +112,10 @@ Package suicideChess
<TD WIDTH="15%"><B><A HREF="../suicideChess/SuicideChess.html" title="class in suicideChess">SuicideChess</A></B></TD> <TD WIDTH="15%"><B><A HREF="../suicideChess/SuicideChess.html" title="class in suicideChess">SuicideChess</A></B></TD>
<TD>Main file (the game in itself)</TD> <TD>Main file (the game in itself)</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../suicideChess/XBoardProtocol.html" title="class in suicideChess">XBoardProtocol</A></B></TD>
<TD>Class used to communicate with XBoard.</TD>
</TR>
</TABLE> </TABLE>
&nbsp; &nbsp;

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:49 GMT 2006 -->
<TITLE> <TITLE>
suicideChess Class Hierarchy suicideChess Class Hierarchy
</TITLE> </TITLE>
@ -84,12 +84,12 @@ Class Hierarchy
</H2> </H2>
<UL> <UL>
<LI TYPE="circle">java.lang.Object<UL> <LI TYPE="circle">java.lang.Object<UL>
<LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess"><B>Board</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess"><B>Move</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess"><B>Piece</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Rules.html" title="class in suicideChess"><B>Rules</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Square.html" title="class in suicideChess"><B>Square</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/SuicideChess.html" title="class in suicideChess"><B>SuicideChess</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable) <LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Board.html" title="class in suicideChess"><B>Board</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/ComputerPlayer.html" title="class in suicideChess"><B>ComputerPlayer</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Move.html" title="class in suicideChess"><B>Move</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Piece.html" title="class in suicideChess"><B>Piece</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Rules.html" title="class in suicideChess"><B>Rules</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Square.html" title="class in suicideChess"><B>Square</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/SuicideChess.html" title="class in suicideChess"><B>SuicideChess</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable)
<UL> <UL>
<LI TYPE="circle">java.lang.Exception<UL> <LI TYPE="circle">java.lang.Exception<UL>
<LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Board.NoPieceOnSquare.html" title="class in suicideChess"><B>Board.NoPieceOnSquare</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Move.NotAValidMoveException.html" title="class in suicideChess"><B>Move.NotAValidMoveException</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Rules.UnexpectedError.html" title="class in suicideChess"><B>Rules.UnexpectedError</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Square.NotAValidSquare.html" title="class in suicideChess"><B>Square.NotAValidSquare</B></A></UL> <LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Board.NoPieceOnSquare.html" title="class in suicideChess"><B>Board.NoPieceOnSquare</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Move.NotAValidMoveException.html" title="class in suicideChess"><B>Move.NotAValidMoveException</B></A><LI TYPE="circle">suicideChess.<A HREF="../suicideChess/Square.NotAValidSquare.html" title="class in suicideChess"><B>Square.NotAValidSquare</B></A></UL>
</UL>
</UL> </UL>
<LI TYPE="circle">suicideChess.<A HREF="../suicideChess/XBoardProtocol.html" title="class in suicideChess"><B>XBoardProtocol</B></A></UL>
</UL> </UL>
<HR> <HR>

View File

@ -2,7 +2,7 @@
<!--NewPage--> <!--NewPage-->
<HTML> <HTML>
<HEAD> <HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Fri Jan 13 17:00:38 GMT 2006 --> <!-- Generated by javadoc (build 1.5.0_05) on Tue Jan 17 15:42:51 GMT 2006 -->
<TITLE> <TITLE>
Uses of Package suicideChess Uses of Package suicideChess
</TITLE> </TITLE>
@ -115,12 +115,6 @@ Classes in <A HREF="../suicideChess/package-summary.html">suicideChess</A> used
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This class is used for piece representation.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This class is used for piece representation.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD><B><A HREF="../suicideChess/class-use/Rules.UnexpectedError.html#suicideChess"><B>Rules.UnexpectedError</B></A></B>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><B><A HREF="../suicideChess/class-use/Square.html#suicideChess"><B>Square</B></A></B> <TD><B><A HREF="../suicideChess/class-use/Square.html#suicideChess"><B>Square</B></A></B>
<BR> <BR>

View File

@ -9,7 +9,7 @@ import suicideChess.Square.NotAValidSquare;
/** /**
* This class will contain all the AI. * This class will contain all the AI.
* @author Jean-Baptiste H&eacute;tier * @author Jean-Baptiste H&eacute;tier
* @version $LastChangedRevision: 33 $, $LastChangedDate: 2006-01-13 17:03:06 +0000 (Fri, 13 Jan 2006) $ * @version $LastChangedRevision$, $LastChangedDate$
*/ */
public class ComputerPlayer { public class ComputerPlayer {
@ -52,7 +52,11 @@ public class ComputerPlayer {
*/ */
public static Move doMinMaxMove(Board bitboard, int color) throws NotAValidSquare, NoPieceOnSquare { public static Move doMinMaxMove(Board bitboard, int color) throws NotAValidSquare, NoPieceOnSquare {
bestMove = null; bestMove = null;
MinMax(bitboard, color, 0); nodesSearched = 0;
int bestScore = MinMax(bitboard, color, 0);
if (SuicideChess.postThinkingOutput()) {
System.out.println(SuicideChess.PLY_DEPTH+" "+bestScore*100+" 0 "+nodesSearched+" "+bestMove);
}
return bestMove; return bestMove;
} }
@ -61,6 +65,9 @@ public class ComputerPlayer {
if (currentDepth >= SuicideChess.PLY_DEPTH) { if (currentDepth >= SuicideChess.PLY_DEPTH) {
return bitboard.getBoardValue(); return bitboard.getBoardValue();
} }
nodesSearched++;
Rules.legalMovesForPlayer(bitboard,color); Rules.legalMovesForPlayer(bitboard,color);
ArrayList<Move> allLegalMoves = Rules.getLegalMovesCapture(); ArrayList<Move> allLegalMoves = Rules.getLegalMovesCapture();
if (allLegalMoves.size()==0) { if (allLegalMoves.size()==0) {
@ -105,4 +112,5 @@ public class ComputerPlayer {
} }
private static Move bestMove = null; private static Move bestMove = null;
private static int nodesSearched;
} }

View File

@ -53,7 +53,7 @@ public class SuicideChess {
/** /**
* Change the color of the current player * Change the color of the current player
*/ */
private static void changeCurrentPlayerColor() { public static void changeCurrentPlayerColor() {
if(currentPlayerColor==Piece.WHITE) { if(currentPlayerColor==Piece.WHITE) {
currentPlayerColor=Piece.BLACK; currentPlayerColor=Piece.BLACK;
if (ASCII_GAME) if (ASCII_GAME)
@ -88,7 +88,41 @@ public class SuicideChess {
*/ */
private static boolean acceptedUsermove = false; private static boolean acceptedUsermove = false;
/**
* This array is used for undo purposes. Positions are sorted from last to first.
*/
private static ArrayList<Board> allPlayedPositions = new ArrayList<Board>();
/**
* This function is used to add a new position to the list of all positions
* @param position A {@link Board}
* @see Board
*/
private static void addPlayedPosition (Board position) {
allPlayedPositions.add(0,new Board(position));
}
/**
* This function is used to undo the last position played
*/
private static Board removePlayedPosition () {
changeCurrentPlayerColor();
allPlayedPositions.remove(0);
return allPlayedPositions.get(0);
}
/**
* This variable says whether the computer should display a "thinking output"
*/
private static boolean post = true;
/**
* Should computer display thinking output or not ?
* @return boolean
*/
public static boolean postThinkingOutput() {
return post;
}
/** /**
* The main function * The main function
* @param args No parameters should be transmitted to this function. * @param args No parameters should be transmitted to this function.
@ -106,6 +140,7 @@ public class SuicideChess {
BufferedReader moveInput = new BufferedReader(new InputStreamReader(System.in)); BufferedReader moveInput = new BufferedReader(new InputStreamReader(System.in));
Board bitboard = new Board(); Board bitboard = new Board();
addPlayedPosition(bitboard);
if (ASCII_GAME) { if (ASCII_GAME) {
bitboard.display(); bitboard.display();
@ -145,7 +180,7 @@ public class SuicideChess {
playing=false; playing=false;
break; break;
case XBoardProtocol.NEW: case XBoardProtocol.NEW:
System.out.println("variant suicide"); //System.out.println("variant suicide");
break; break;
case XBoardProtocol.HINT: case XBoardProtocol.HINT:
System.out.println("Hint: "+ComputerPlayer.doRandomMove(bitboard,currentPlayerColor)); System.out.println("Hint: "+ComputerPlayer.doRandomMove(bitboard,currentPlayerColor));
@ -153,6 +188,24 @@ public class SuicideChess {
case XBoardProtocol.FORCE: case XBoardProtocol.FORCE:
computerPlaying = false; computerPlaying = false;
break; break;
case XBoardProtocol.PING:
System.out.println("pong "+whatMove.substring(5));
break;
case XBoardProtocol.REMOVE:
removePlayedPosition();
//no break here
case XBoardProtocol.UNDO:
bitboard=new Board(removePlayedPosition());
if (ASCII_GAME) {
bitboard.display();
}
break;
case XBoardProtocol.POST:
post=true;
break;
case XBoardProtocol.NOPOST:
post=false;
break;
case XBoardProtocol.UNKNOWN: case XBoardProtocol.UNKNOWN:
if (acceptedUsermove) { if (acceptedUsermove) {
System.out.println("Error (unknown command): "+whatMove); System.out.println("Error (unknown command): "+whatMove);
@ -196,6 +249,8 @@ public class SuicideChess {
System.out.println("Illegal move: "+theMove.toString()); System.out.println("Illegal move: "+theMove.toString());
} else { } else {
bitboard.doMove(allLegalMoves.get(foundMoveIndex)); bitboard.doMove(allLegalMoves.get(foundMoveIndex));
changeCurrentPlayerColor();
addPlayedPosition(bitboard);
if (ASCII_GAME) { if (ASCII_GAME) {
allLegalMoves.get(foundMoveIndex).display(); allLegalMoves.get(foundMoveIndex).display();
System.out.println("Board value: "+bitboard.getBoardValue()); System.out.println("Board value: "+bitboard.getBoardValue());
@ -216,7 +271,6 @@ public class SuicideChess {
if (!playedALegalMove) { if (!playedALegalMove) {
break; break;
} }
changeCurrentPlayerColor();
//No break statement here on purpose. //No break statement here on purpose.
case XBoardProtocol.GO: case XBoardProtocol.GO:
//this is not really nice but it avoids having to write twice the code //this is not really nice but it avoids having to write twice the code
@ -227,13 +281,14 @@ public class SuicideChess {
if (computerPlaying) { if (computerPlaying) {
Move computerMove = ComputerPlayer.doMinMaxMove(bitboard,currentPlayerColor); Move computerMove = ComputerPlayer.doMinMaxMove(bitboard,currentPlayerColor);
bitboard.doMove(computerMove); bitboard.doMove(computerMove);
addPlayedPosition(bitboard);
XBoardProtocol.doMove(computerMove); XBoardProtocol.doMove(computerMove);
changeCurrentPlayerColor();
if (ASCII_GAME) { if (ASCII_GAME) {
computerMove.display(); computerMove.display();
System.out.println("Board value: "+bitboard.getBoardValue()); System.out.println("Board value: "+bitboard.getBoardValue());
bitboard.display(); bitboard.display();
} }
changeCurrentPlayerColor();
} }
if (testWinningPosition(bitboard)) { if (testWinningPosition(bitboard)) {
computerPlaying=false; computerPlaying=false;
@ -280,6 +335,7 @@ public class SuicideChess {
continue; continue;
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
break;
} }
} }
} }

View File

@ -9,7 +9,7 @@ import java.io.IOException;
/** /**
* Class used to communicate with XBoard. * Class used to communicate with XBoard.
* @author Jean-Baptiste H&eacute;tier * @author Jean-Baptiste H&eacute;tier
* @version $LastChangedRevision: 33 $, $LastChangedDate: 2006-01-13 17:03:06 +0000 (Fri, 13 Jan 2006) $ * @version $LastChangedRevision$, $LastChangedDate$
*/ */
public class XBoardProtocol { public class XBoardProtocol {
@ -62,6 +62,26 @@ public class XBoardProtocol {
* XBoard did not accept variant suicide chess * XBoard did not accept variant suicide chess
*/ */
public static final int NOT_ACCEPTED_SUICIDE = 11; public static final int NOT_ACCEPTED_SUICIDE = 11;
/**
* XBoard sent a ping signal
*/
public static final int PING = 12;
/**
* XBoard sent an Undo signal
*/
public static final int UNDO = 13;
/**
* Xboard sent a remove signal (treated at two undos)
*/
public static final int REMOVE = 14;
/**
* Xboard asks to display thinking output
*/
public static final int POST = 15;
/**
* Xboard asks NOT to display thinking output
*/
public static final int NOPOST = 16;
/** /**
* Unknown command * Unknown command
*/ */
@ -74,10 +94,11 @@ public class XBoardProtocol {
*/ */
public static void initialise() throws IOException { public static void initialise() throws IOException {
//done=1 is here to tell that the program has finish requesting features //done=1 is here to tell that the program has finish requesting features
System.out.println("feature myname=\"djib's Suicide Chess\"");
System.out.println("feature sigint=0 sigterm=0");
System.out.println("feature usermove=1"); //sends moves like 'usermove e2e4' System.out.println("feature usermove=1"); //sends moves like 'usermove e2e4'
System.out.println("feature myname=\"djib's Suicide Chess\"");
System.out.println("feature sigint=0 sigterm=0"); //do not interrupt me
System.out.println("feature variants=\"suicide\""); System.out.println("feature variants=\"suicide\"");
System.out.println("feature ping=1");
System.out.println("feature time=0 draw=0 reuse=0 analyze=0 colors=0"); System.out.println("feature time=0 draw=0 reuse=0 analyze=0 colors=0");
System.out.println("feature done=1"); System.out.println("feature done=1");
if (SuicideChess.ASCII_GAME) if (SuicideChess.ASCII_GAME)
@ -123,6 +144,16 @@ public class XBoardProtocol {
return HINT; return HINT;
} else if (command.equals("force")) { } else if (command.equals("force")) {
return FORCE; return FORCE;
} else if (command.startsWith("ping")) {
return PING;
} else if (command.equals("undo")) {
return UNDO;
} else if (command.equals("remove")) {
return REMOVE;
} else if (command.equals("post")) {
return POST;
} else if (command.equals("nopost")) {
return NOPOST;
} }
return UNKNOWN; return UNKNOWN;