diff --git a/doc/allclasses-frame.html b/doc/allclasses-frame.html
deleted file mode 100644
index 455ccdb..0000000
--- a/doc/allclasses-frame.html
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-All Classes
-
-
-
-
-
-
-
-
-
-
-All Classes
-
-
-
-
-
-
diff --git a/doc/allclasses-noframe.html b/doc/allclasses-noframe.html
deleted file mode 100644
index 8e5b58b..0000000
--- a/doc/allclasses-noframe.html
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-All Classes
-
-
-
-
-
-
-
-
-
-
-All Classes
-
-
-
-
-
-
diff --git a/doc/constant-values.html b/doc/constant-values.html
deleted file mode 100644
index 87cc50a..0000000
--- a/doc/constant-values.html
+++ /dev/null
@@ -1,492 +0,0 @@
-
-
-
-
-
-
-Constant Field Values
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Constant Field Values
-
-
-Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-suicideChess.Piece
-
-
-
-public static final int
-BISHOP
-3
-
-
-
-public static final char
-BISHOP_CHAR
-98
-
-
-
-public static final int
-BLACK
-1
-
-
-
-public static final int
-BLACK_BISHOP
-9
-
-
-
-public static final int
-BLACK_KING
-7
-
-
-
-public static final int
-BLACK_KNIGHT
-11
-
-
-
-public static final int
-BLACK_PAWN
-3
-
-
-
-public static final int
-BLACK_PIECES
-1
-
-
-
-public static final int
-BLACK_QUEEN
-5
-
-
-
-public static final int
-BLACK_ROOK
-13
-
-
-
-public static final int
-KING
-2
-
-
-
-public static final char
-KING_CHAR
-107
-
-
-
-public static final int
-KNIGHT
-4
-
-
-
-public static final char
-KNIGHT_CHAR
-110
-
-
-
-public static final int
-MAX_PIECE_NUMBER
-13
-
-
-
-public static final int
-NB_OF_PIECES
-6
-
-
-
-public static final int
-NO_COLOR
--1
-
-
-
-public static final int
-NONE
--1
-
-
-
-public static final int
-PAWN
-0
-
-
-
-public static final char
-PAWN_CHAR
-112
-
-
-
-public static final int
-QUEEN
-1
-
-
-
-public static final char
-QUEEN_CHAR
-113
-
-
-
-public static final int
-ROOK
-5
-
-
-
-public static final char
-ROOK_CHAR
-114
-
-
-
-public static final int
-WHITE
-0
-
-
-
-public static final int
-WHITE_BISHOP
-8
-
-
-
-public static final int
-WHITE_KING
-6
-
-
-
-public static final int
-WHITE_KNIGHT
-10
-
-
-
-public static final int
-WHITE_PAWN
-2
-
-
-
-public static final int
-WHITE_PIECES
-0
-
-
-
-public static final int
-WHITE_QUEEN
-4
-
-
-
-public static final int
-WHITE_ROOK
-12
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/deprecated-list.html b/doc/deprecated-list.html
deleted file mode 100644
index fdb1875..0000000
--- a/doc/deprecated-list.html
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
-
-
-
-
-Deprecated List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Deprecated API
-
-
-Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/help-doc.html b/doc/help-doc.html
deleted file mode 100644
index b1db389..0000000
--- a/doc/help-doc.html
+++ /dev/null
@@ -1,211 +0,0 @@
-
-
-
-
-
-
-API Help
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-How This API Document Is Organized
-
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-Package
-
-
-
-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:
-Interfaces (italic) Classes Enums Exceptions Errors Annotation Types
-
-
-Class/Interface
-
-
-
-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
-Class inheritance diagram Direct Subclasses All Known Subinterfaces All Known Implementing Classes Class/interface declaration Class/interface description
-
-
Nested Class Summary Field Summary Constructor Summary Method Summary
-
-
Field Detail Constructor Detail Method Detail
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
-
-
-Annotation Type
-
-
-
-Each annotation type has its own separate page with the following sections:
-Annotation Type declaration Annotation Type description Required Element Summary Optional Element Summary Element Detail
-
-
-
-Enum
-
-
-
-Each enum has its own separate page with the following sections:
-Enum declaration Enum description Enum Constant Summary Enum Constant Detail
-
-
-Use
-
-Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
-
-Tree (Class Hierarchy)
-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
-When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages. When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
-
-
-Deprecated API
-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-
-Index
-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-
-Prev/Next
-These links take you to the next or previous class, interface, package, or related page.
-Frames/No Frames
-These links show and hide the HTML frames. All pages are available with or without frames.
-
-
-Serialized Form
-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
-
-
-Constant Field Values
-The Constant Field Values page lists the static final fields and their values.
-
-
-
-This help file applies to API documentation generated using the standard doclet.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/index-files/index-1.html b/doc/index-files/index-1.html
deleted file mode 100644
index 9bf10c8..0000000
--- a/doc/index-files/index-1.html
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
-A-Index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-A
-
-ASCII_GAME -
-Static variable in class suicideChess.SuicideChess
-Displays informations in the console.
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-
-
diff --git a/doc/index-files/index-2.html b/doc/index-files/index-2.html
deleted file mode 100644
index ba6c569..0000000
--- a/doc/index-files/index-2.html
+++ /dev/null
@@ -1,172 +0,0 @@
-
-
-
-
-
-
-B-Index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-B
-
-BISHOP -
-Static variable in class suicideChess.Piece
-
- BISHOP_CHAR -
-Static variable in class suicideChess.Piece
-
- BITBOARD_REMOVEPIECE_CHECK_REMOVE -
-Static variable in class suicideChess.SuicideChess
-does BitBoard.class removePiece function checks if removing piece is legal ?
- BLACK -
-Static variable in class suicideChess.Piece
-
- BLACK_BISHOP -
-Static variable in class suicideChess.Piece
-
- BLACK_KING -
-Static variable in class suicideChess.Piece
-
- BLACK_KNIGHT -
-Static variable in class suicideChess.Piece
-
- BLACK_PAWN -
-Static variable in class suicideChess.Piece
-
- BLACK_PIECES -
-Static variable in class suicideChess.Piece
-
- BLACK_QUEEN -
-Static variable in class suicideChess.Piece
-
- BLACK_ROOK -
-Static variable in class suicideChess.Piece
-
- Board - Class in suicideChess This class contains the board representation. Board() -
-Constructor for class suicideChess.Board
-Constructor of the class Board
- Board.NoPieceOnSquare - Exception in suicideChess
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-
-
diff --git a/doc/index-files/index-3.html b/doc/index-files/index-3.html
deleted file mode 100644
index ac7b320..0000000
--- a/doc/index-files/index-3.html
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
-C-Index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-C
-
-ComputerPlayer - Class in suicideChess This class will contain all the AI. ComputerPlayer(int) -
-Constructor for class suicideChess.ComputerPlayer
-This constructor creates a computer that plays with the given color
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-
-
diff --git a/doc/index-files/index-4.html b/doc/index-files/index-4.html
deleted file mode 100644
index d4213b1..0000000
--- a/doc/index-files/index-4.html
+++ /dev/null
@@ -1,152 +0,0 @@
-
-
-
-
-
-
-D-Index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-D
-
-display() -
-Method in class suicideChess.Board
-This function can be used to display the board
- Black pieces are displayed in uppercase letters.
- display() -
-Method in class suicideChess.Move
-Displays a move in great details.
- doMove(Move) -
-Method in class suicideChess.Board
-This methods takes a Move
and applies it (updating the bitboard)
- doMove(Board) -
-Method in class suicideChess.ComputerPlayer
-This asks the computer to compute a move
- doMove(Move) -
-Static method in class suicideChess.XBoardProtocol
-Sends a move message to XBoard
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-
-
diff --git a/doc/index-files/index-5.html b/doc/index-files/index-5.html
deleted file mode 100644
index 6a1597d..0000000
--- a/doc/index-files/index-5.html
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
-E-Index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-E
-
-enablesEnPassant() -
-Method in class suicideChess.Move
-Returns a boolean saying is a Move makes 'en passant' move possible.
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-
-
diff --git a/doc/index-files/index-6.html b/doc/index-files/index-6.html
deleted file mode 100644
index b2d98ab..0000000
--- a/doc/index-files/index-6.html
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
-F-Index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-F
-
-fromSquare() -
-Method in class suicideChess.Move
-Returns the Square
to move from in a Move
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-
-
diff --git a/doc/index-files/index-7.html b/doc/index-files/index-7.html
deleted file mode 100644
index 62eee92..0000000
--- a/doc/index-files/index-7.html
+++ /dev/null
@@ -1,183 +0,0 @@
-
-
-
-
-
-
-G-Index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-G
-
-getCapturedPiece() -
-Method in class suicideChess.Move
-Returns the Piece
to be captured in a Move
- getColor() -
-Method in class suicideChess.Piece
-Returns an integer representing the color of the Piece.
- getCommand(String) -
-Static method in class suicideChess.XBoardProtocol
-Interprets XBoard Commands
- getEnPassantSquare() -
-Method in class suicideChess.Board
-This function is used to return the 'en passant' Square.
- getEnPassantSquare() -
-Method in class suicideChess.Move
-Returns the enPassant Square for a move.
- getFile() -
-Method in class suicideChess.Square
-Returns the file of a Square.
- getFileNb() -
-Method in class suicideChess.Square
-Returns the number of the File
- getLegalMovesCapture() -
-Static method in class suicideChess.Rules
-This function return the current status of the ArrayList of all legal Move
- with a capture.
-getLegalMovesNonCapture() -
-Static method in class suicideChess.Rules
-This function return the current status of the ArrayList of all legal Move
- without a capture.
-getMovingPiece() -
-Method in class suicideChess.Move
-Returns the moving Piece
of a Move.
- getPiece(Square) -
-Method in class suicideChess.Board
-This function searchs for what piece is on a square.
- getPieceNumber() -
-Method in class suicideChess.Piece
-Returns an integer representing the Piece (Piece.BLACK_PAWN or Piece.WHITE_QUEEN)
- getPieceType() -
-Method in class suicideChess.Piece
-Returns an integer representing the Piece type (Piece.QUEEN or Piece.PAWN)
- getPromotionPiece() -
-Method in class suicideChess.Move
-Returns the promotion Piece
of a Move
- getRank() -
-Method in class suicideChess.Square
-Returns the number of the Rank
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-
-
diff --git a/doc/index-files/index-8.html b/doc/index-files/index-8.html
deleted file mode 100644
index 4e47fe3..0000000
--- a/doc/index-files/index-8.html
+++ /dev/null
@@ -1,163 +0,0 @@
-
-
-
-
-
-
-I-Index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-I
-
-initialise() -
-Static method in class suicideChess.XBoardProtocol
-This function initialises the communications with XBoard.
- INVALID -
-Static variable in class suicideChess.XBoardProtocol
-Received an invalid move
- isCaptureMove() -
-Method in class suicideChess.Move
-Returns a boolean saying if a Move is a capture move
- isEmpty(Square, Piece) -
-Method in class suicideChess.Board
-This function returns a boolean telling if a Piece
is on a Board.NoPieceOnSquare
.
- isEnPassant() -
-Method in class suicideChess.Board
-This function returns a boolean saying if the board is in an 'en passant' state.
- isEnPassant() -
-Method in class suicideChess.Move
-Returns a boolean saying is a Move is an 'en passant' move.
- isEqual(Square) -
-Method in class suicideChess.Square
-Returns a boolean telling if two squares are the same
- isPromotionMove() -
-Method in class suicideChess.Move
-Returns a boolean saying if a Move is a promotion or not.
- isSimpleEqual(Move) -
-Method in class suicideChess.Move
-Tests the equality of two moves by just looking at the fromSquare and the toSquare
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-
-
diff --git a/doc/index-files/index-9.html b/doc/index-files/index-9.html
deleted file mode 100644
index 96c2d07..0000000
--- a/doc/index-files/index-9.html
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-K-Index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-K
-
-KING -
-Static variable in class suicideChess.Piece
-
- KING_CHAR -
-Static variable in class suicideChess.Piece
-
- KNIGHT -
-Static variable in class suicideChess.Piece
-
- KNIGHT_CHAR -
-Static variable in class suicideChess.Piece
-
-
-
-
-
-
-
-
-
-
-
-
-A B C D E F G I K L M N P Q R S T U W X
-
-
-
diff --git a/doc/index.html b/doc/index.html
deleted file mode 100644
index ae153ae..0000000
--- a/doc/index.html
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-Generated Documentation (Untitled)
-
-
-
-
-
-
-
-
-
-
-Frame Alert
-
-
-This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
-
-Link toNon-frame version.
-
-
-
diff --git a/doc/overview-tree.html b/doc/overview-tree.html
deleted file mode 100644
index 270b392..0000000
--- a/doc/overview-tree.html
+++ /dev/null
@@ -1,151 +0,0 @@
-
-
-
-
-
-
-Class Hierarchy
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Hierarchy For All Packages
-
-
-Package Hierarchies: suicideChess
-
-
-Class Hierarchy
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/package-list b/doc/package-list
deleted file mode 100644
index 9a7ba2d..0000000
--- a/doc/package-list
+++ /dev/null
@@ -1 +0,0 @@
-suicideChess
diff --git a/doc/packages.html b/doc/packages.html
deleted file mode 100644
index b5c1394..0000000
--- a/doc/packages.html
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-The front page has been relocated.Please see:
-
- Frame version
-
- Non-frame version.
-
-
-
diff --git a/doc/resources/inherit.gif b/doc/resources/inherit.gif
deleted file mode 100644
index c814867..0000000
Binary files a/doc/resources/inherit.gif and /dev/null differ
diff --git a/doc/serialized-form.html b/doc/serialized-form.html
deleted file mode 100644
index f83980b..0000000
--- a/doc/serialized-form.html
+++ /dev/null
@@ -1,188 +0,0 @@
-
-
-
-
-
-
-Serialized Form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Serialized Form
-
-
-
-
-
-
-Package suicideChess
-
-
-
-
-
-
-
-
-serialVersionUID: -2750943856086117656L
-
-
-
-
-
-
-
-
-serialVersionUID: 2194133427162274651L
-
-
-
-
-
-
-
-
-serialVersionUID: 7586171991212094565L
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/stylesheet.css b/doc/stylesheet.css
deleted file mode 100644
index 6d31fdb..0000000
--- a/doc/stylesheet.css
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Javadoc style sheet */
-
-/* Define colors, fonts and other style attributes here to override the defaults */
-
-/* Page background color */
-body { background-color: #FFFFFF }
-
-/* Headings */
-h1 { font-size: 145% }
-
-/* Table colors */
-.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
-.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */
-.TableRowColor { background: #FFFFFF } /* White */
-
-/* Font used in left-hand frame lists */
-.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif }
-.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif }
-.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif }
-
-/* Navigation bar fonts and colors */
-.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */
-.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */
-.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;}
-.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
-
-.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
-.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
-
diff --git a/doc/suicideChess/Board.NoPieceOnSquare.html b/doc/suicideChess/Board.NoPieceOnSquare.html
deleted file mode 100644
index 13e0c9e..0000000
--- a/doc/suicideChess/Board.NoPieceOnSquare.html
+++ /dev/null
@@ -1,205 +0,0 @@
-
-
-
-
-
-
-Board.NoPieceOnSquare
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-suicideChess
-
-Class Board.NoPieceOnSquare
-
-java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- suicideChess.Board.NoPieceOnSquare
-
-
-All Implemented Interfaces: java.io.Serializable
-
-
-Enclosing class: Board
-
-
-
-public class Board.NoPieceOnSquare extends java.lang.Exception
-
-
-
-
-See Also: Serialized Form
-
-
-
-
-
-
-
-
-
-
-
-Methods inherited from class java.lang.Throwable
-
-
-fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
-
-Methods inherited from class java.lang.Object
-
-
-equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/suicideChess/Board.html b/doc/suicideChess/Board.html
deleted file mode 100644
index 767cf85..0000000
--- a/doc/suicideChess/Board.html
+++ /dev/null
@@ -1,500 +0,0 @@
-
-
-
-
-
-
-Board
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-suicideChess
-
-Class Board
-
-java.lang.Object
- suicideChess.Board
-
-
-
-public class Board extends java.lang.Object
-
-
-
-This class contains the board representation.
- The board is represented using bitboards.
-
a1 is square 0
- h8 is square 7
- a2 is square 8
- ... and so on
-
-
-
-
-Version:
- $LastChangedRevision$, $LastChangedDate$
-Author:
- Jean-Baptiste Hétier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Constructor Summary
-
-
-Board ()
-
-
- Constructor of the class Board
-
-
-
-
-
-
-
-
-
-Method Summary
-
-
-
- void
-display ()
-
-
- This function can be used to display the board
- Black pieces are displayed in uppercase letters.
-
-
-
- void
-doMove (Move move)
-
-
- This methods takes a Move
and applies it (updating the bitboard)
-
-
-
- Square
-getEnPassantSquare ()
-
-
- This function is used to return the 'en passant' Square.
-
-
-
- Piece
-getPiece (Square onSquare)
-
-
- This function searchs for what piece is on a square.
-
-
-
- boolean
-isEmpty (Square square,
- Piece piece)
-
-
- This function returns a boolean telling if a Piece
is on a Board.NoPieceOnSquare
.
-
-
-
- boolean
-isEnPassant ()
-
-
- This function returns a boolean saying if the board is in an 'en passant' state.
-
-
-
-static int
-squareToBitBoardSquare (Square square)
-
-
- This function converts a Board.NoPieceOnSquare
to a number representing a bitboard square
-
-
-
-
-
-Methods inherited from class java.lang.Object
-
-
-equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
-
-
-
-
-
-
-
-NB_OF_RANKS
-
-public static final int NB_OF_RANKS
-
-
-See Also: Constant Field Values
-
-
-
-
-NB_OF_FILES
-
-public static final int NB_OF_FILES
-
-
-See Also: Constant Field Values
-
-
-
-
-NB_OF_SQUARES
-
-public static final int NB_OF_SQUARES
-
-
-See Also: Constant Field Values
-
-
-
-
-
-
-
-
-Constructor Detail
-
-
-
-
-Board
-
-public Board ()
- throws Square.NotAValidSquare
-
-Constructor of the class Board
-
-
-
-Throws:
-Square.NotAValidSquare
-
-
-
-
-
-
-
-
-doMove
-
-public void doMove (Move move)
- throws Board.NoPieceOnSquare
-
-This methods takes a Move
and applies it (updating the bitboard)
-
-
-Parameters: move
- The move that is to be done
-Throws:
-Board.NoPieceOnSquare
- If a piece is trying to be moved from a square that does not exist.See Also: Move
-
-
-
-
-
-getPiece
-
-public Piece getPiece (Square onSquare)
-
-This function searchs for what piece is on a square.
-
-
-Parameters: onSquare
- The Square on which we will look for a piece.
-Returns: a Piece
See Also: Board.NoPieceOnSquare
,
-Piece
-
-
-
-
-
-isEmpty
-
-public boolean isEmpty (Square square,
- Piece piece)
-
-This function returns a boolean telling if a Piece
is on a Board.NoPieceOnSquare
.
-
-
-Parameters: square
- The Squarepiece
- A Piece constant
-Returns: boolean See Also: Piece
,
-Board.NoPieceOnSquare
-
-
-
-
-
-squareToBitBoardSquare
-
-public static int squareToBitBoardSquare (Square square)
-
-This function converts a Board.NoPieceOnSquare
to a number representing a bitboard square
-
-
-Parameters: square
- The Square to be converted
-Returns: int See Also: Board.NoPieceOnSquare
-
-
-
-
-
-isEnPassant
-
-public boolean isEnPassant ()
-
-This function returns a boolean saying if the board is in an 'en passant' state.
-
-
-
-Returns: boolean
-
-
-
-
-
-getEnPassantSquare
-
-public Square getEnPassantSquare ()
-
-This function is used to return the 'en passant' Square. Don't use it unless table is in an 'en passant' state.
-
-
-
-Returns: Square See Also: Board.NoPieceOnSquare
-
-
-
-
-
-display
-
-public void display ()
-
-This function can be used to display the board
- Black pieces are displayed in uppercase letters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/suicideChess/Move.NotAValidMoveException.html b/doc/suicideChess/Move.NotAValidMoveException.html
deleted file mode 100644
index 39616f9..0000000
--- a/doc/suicideChess/Move.NotAValidMoveException.html
+++ /dev/null
@@ -1,205 +0,0 @@
-
-
-
-
-
-
-Move.NotAValidMoveException
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-suicideChess
-
-Class Move.NotAValidMoveException
-
-java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- suicideChess.Move.NotAValidMoveException
-
-
-All Implemented Interfaces: java.io.Serializable
-
-
-Enclosing class: Move
-
-
-
-public class Move.NotAValidMoveException extends java.lang.Exception
-
-
-
-
-See Also: Serialized Form
-
-
-
-
-
-
-
-
-
-
-
-Methods inherited from class java.lang.Throwable
-
-
-fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
-
-Methods inherited from class java.lang.Object
-
-
-equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/suicideChess/Move.html b/doc/suicideChess/Move.html
deleted file mode 100644
index 0587762..0000000
--- a/doc/suicideChess/Move.html
+++ /dev/null
@@ -1,613 +0,0 @@
-
-
-
-
-
-
-Move
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-suicideChess
-
-Class Move
-
-java.lang.Object
- suicideChess.Move
-
-
-
-public class Move extends java.lang.Object
-
-
-
-This class is used for moves representation.
-
-
-
-
-Version:
- $LastChangedRevision$, $LastChangedDate$
-Author:
- Jean-Baptiste Hétier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Constructor Summary
-
-
-Move (Square fromSquare,
- Square toSquare,
- Piece movingPiece,
- Piece capturePiece,
- Piece promotionPiece)
-
-
- This is the constructor of the class.
-
-
-Move (Square fromSquare,
- Square toSquare,
- Square enPassantSquare,
- Piece movingPiece,
- boolean isCapture)
-
-
- This is the constructor of the class.
-
-
-Move (java.lang.String move,
- Board board)
-
-
- This is the constructor of the class.
-
-
-
-
-
-
-
-
-
-Method Summary
-
-
-
- void
-display ()
-
-
- Displays a move in great details.
-
-
-
- boolean
-enablesEnPassant ()
-
-
- Returns a boolean saying is a Move makes 'en passant' move possible.
-
-
-
- Square
-fromSquare ()
-
-
- Returns the Square
to move from in a Move
-
-
-
- Piece
-getCapturedPiece ()
-
-
- Returns the Piece
to be captured in a Move
-
-
-
- Square
-getEnPassantSquare ()
-
-
- Returns the enPassant Square for a move.
-
-
-
- Piece
-getMovingPiece ()
-
-
- Returns the moving Piece
of a Move.
-
-
-
- Piece
-getPromotionPiece ()
-
-
- Returns the promotion Piece
of a Move
-
-
-
- boolean
-isCaptureMove ()
-
-
- Returns a boolean saying if a Move is a capture move
-
-
-
- boolean
-isEnPassant ()
-
-
- Returns a boolean saying is a Move is an 'en passant' move.
-
-
-
- boolean
-isPromotionMove ()
-
-
- Returns a boolean saying if a Move is a promotion or not.
-
-
-
- boolean
-isSimpleEqual (Move that)
-
-
- Tests the equality of two moves by just looking at the fromSquare and the toSquare
-
-
-
- Square
-toSquare ()
-
-
- Returns the Square
to move to in a Move
-
-
-
- java.lang.String
-toString ()
-
-
- Converts a Move into a String.
-
-
-
-
-
-Methods inherited from class java.lang.Object
-
-
-equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
-
-
-
-
-
-
-
-Constructor Detail
-
-
-
-
-Move
-
-public Move (java.lang.String move,
- Board board)
- throws Move.NotAValidMoveException ,
- Square.NotAValidSquare
-
-This is the constructor of the class.
-
-
-Parameters: move
- A String containing of type "e2e4" (4 chars), "b7b8q" (5 chars) for promotions.
- It is the standard algebraic notation used for chess.board
- A Board
to be able to locate the pieces.
-Throws:
-Move.NotAValidMoveException
- When the String is not legal (too long or too short).
-Square.NotAValidSquare
- It the String is not legal (not standard algebraic notation).See Also: Board
-
-
-
-
-Move
-
-public Move (Square fromSquare,
- Square toSquare,
- Piece movingPiece,
- Piece capturePiece,
- Piece promotionPiece)
- throws Square.NotAValidSquare
-
-This is the constructor of the class.
-
-
-Parameters: fromSquare
- The Square
to move from.toSquare
- The Square
to move to.movingPiece
- The Piece
to be moved.capturePiece
- The Piece
to be captured. Piece.NONE if none.promotionPiece
- The {link Piece} to be promoted to. Piece.NONE if none.
-Throws:
-Square.NotAValidSquare
- If Squares are not valid.See Also: Square
,
-Piece
-
-
-
-
-Move
-
-public Move (Square fromSquare,
- Square toSquare,
- Square enPassantSquare,
- Piece movingPiece,
- boolean isCapture)
- throws Square.NotAValidSquare
-
-This is the constructor of the class.
- It should be used only for moves that enable or are 'en passant' capture.
-
-
-Parameters: fromSquare
- The Square
to move from.toSquare
- The Square
to move to.enPassantSquare
- The 'en passant' Square
.movingPiece
- The Piece
to be moved.isCapture
- This boolean is used to differenciate 'en passant' captures from moves that simply enable 'en passant' capture.
-Throws:
-Square.NotAValidSquare
- If Squares are not valid.See Also: Square
,
-Piece
-
-
-
-
-
-
-
-
-fromSquare
-
-public Square fromSquare ()
-
-Returns the Square
to move from in a Move
-
-
-
-Returns: Square See Also: Square
-
-
-
-
-
-toSquare
-
-public Square toSquare ()
-
-Returns the Square
to move to in a Move
-
-
-
-Returns: Square See Also: Square
-
-
-
-
-
-isPromotionMove
-
-public boolean isPromotionMove ()
-
-Returns a boolean saying if a Move is a promotion or not.
-
-
-
-Returns: boolean
-
-
-
-
-
-getPromotionPiece
-
-public Piece getPromotionPiece ()
-
-Returns the promotion Piece
of a Move
-
-
-
-Returns: Piece See Also: Piece
-
-
-
-
-
-getMovingPiece
-
-public Piece getMovingPiece ()
-
-Returns the moving Piece
of a Move.
-
-
-
-Returns: Piece See Also: Piece
-
-
-
-
-
-isCaptureMove
-
-public boolean isCaptureMove ()
-
-Returns a boolean saying if a Move is a capture move
-
-
-
-Returns: boolean
-
-
-
-
-
-getCapturedPiece
-
-public Piece getCapturedPiece ()
-
-Returns the Piece
to be captured in a Move
-
-
-
-Returns: Piece
-
-
-
-
-
-enablesEnPassant
-
-public boolean enablesEnPassant ()
-
-Returns a boolean saying is a Move makes 'en passant' move possible.
-
-
-
-
-
-
-
-
-isEnPassant
-
-public boolean isEnPassant ()
-
-Returns a boolean saying is a Move is an 'en passant' move.
-
-
-
-
-
-
-
-
-getEnPassantSquare
-
-public Square getEnPassantSquare ()
-
-Returns the enPassant Square for a move.
-
-
-
-
-
-
-
-
-toString
-
-public java.lang.String toString ()
-
-Converts a Move into a String.
-
-
-Overrides: toString
in class java.lang.Object
-
-
-
-Returns: String
-
-
-
-
-
-isSimpleEqual
-
-public boolean isSimpleEqual (Move that)
-
-Tests the equality of two moves by just looking at the fromSquare and the toSquare
-
-
-Parameters: that
- A move to test
-Returns: boolean
-
-
-
-
-
-display
-
-public void display ()
-
-Displays a move in great details.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/suicideChess/class-use/Board.NoPieceOnSquare.html b/doc/suicideChess/class-use/Board.NoPieceOnSquare.html
deleted file mode 100644
index 38eee73..0000000
--- a/doc/suicideChess/class-use/Board.NoPieceOnSquare.html
+++ /dev/null
@@ -1,161 +0,0 @@
-
-
-
-
-
-
-Uses of Class suicideChess.Board.NoPieceOnSquare
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Uses of Class suicideChess.Board.NoPieceOnSquare
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/suicideChess/class-use/Board.html b/doc/suicideChess/class-use/Board.html
deleted file mode 100644
index 5d89345..0000000
--- a/doc/suicideChess/class-use/Board.html
+++ /dev/null
@@ -1,196 +0,0 @@
-
-
-
-
-
-
-Uses of Class suicideChess.Board
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Uses of Class suicideChess.Board
-
-
-
-
-
-
-
-
-Methods in suicideChess with parameters of type Board
-
-
-
- Move
-ComputerPlayer. doMove (Board bitboard)
-
-
- This asks the computer to compute a move
-
-
-
-static void
-Rules. legalMovesForPlayer (Board board,
- int color)
-
-
- Computes the possible moves according to the current status of the Board
and the
- color of the current player.
-
-
-
-static void
-Rules. legalMovesFromSquare (Square fromSquare,
- Board board)
-
-
- Computes the possible moves from a given Square
- according to the current status of the Board
-
-
-
-
-
-
-
-Constructors in suicideChess with parameters of type Board
-
-
-Move (java.lang.String move,
- Board board)
-
-
- This is the constructor of the class.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/suicideChess/class-use/Move.NotAValidMoveException.html b/doc/suicideChess/class-use/Move.NotAValidMoveException.html
deleted file mode 100644
index 8d32877..0000000
--- a/doc/suicideChess/class-use/Move.NotAValidMoveException.html
+++ /dev/null
@@ -1,160 +0,0 @@
-
-
-
-
-
-
-Uses of Class suicideChess.Move.NotAValidMoveException
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Uses of Class suicideChess.Move.NotAValidMoveException
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/suicideChess/class-use/Move.html b/doc/suicideChess/class-use/Move.html
deleted file mode 100644
index 4d5c5dc..0000000
--- a/doc/suicideChess/class-use/Move.html
+++ /dev/null
@@ -1,219 +0,0 @@
-
-
-
-
-
-
-Uses of Class suicideChess.Move
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Uses of Class suicideChess.Move
-
-
-
-
-
-
-
-
-
-
-
-
-Methods in suicideChess that return types with arguments of type Move
-
-
-
-static java.util.ArrayList<Move >
-Rules. getLegalMovesCapture ()
-
-
- This function return the current status of the ArrayList of all legal Move
- with a capture.
-
-
-
-static java.util.ArrayList<Move >
-Rules. getLegalMovesNonCapture ()
-
-
- This function return the current status of the ArrayList of all legal Move
- without a capture.
-
-
-
-
-
-
-
-Methods in suicideChess with parameters of type Move
-
-
-
-static void
-XBoardProtocol. doMove (Move move)
-
-
- Sends a move message to XBoard
-
-
-
- void
-Board. doMove (Move move)
-
-
- This methods takes a Move
and applies it (updating the bitboard)
-
-
-
- boolean
-Move. isSimpleEqual (Move that)
-
-
- Tests the equality of two moves by just looking at the fromSquare and the toSquare
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/suicideChess/package-frame.html b/doc/suicideChess/package-frame.html
deleted file mode 100644
index 6201e3e..0000000
--- a/doc/suicideChess/package-frame.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
-
-suicideChess
-
-
-
-
-
-
-
-
-
-
-
-suicideChess
-
-
-
-
-
-
-
-
diff --git a/doc/suicideChess/package-summary.html b/doc/suicideChess/package-summary.html
deleted file mode 100644
index 1dc3988..0000000
--- a/doc/suicideChess/package-summary.html
+++ /dev/null
@@ -1,190 +0,0 @@
-
-
-
-
-
-
-suicideChess
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Package suicideChess
-
-
-
-
-
-Class Summary
-
-
-Board
-This class contains the board representation.
-
-
-ComputerPlayer
-This class will contain all the AI.
-
-
-Move
-This class is used for moves representation.
-
-
-Piece
-This class is used for piece representation.
-
-
-Rules
-This class is used to compute legal moves.
-
-
-Square
-This class is used for square representation
-
-
-SuicideChess
-Main file (the game in itself)
-
-
-XBoardProtocol
-Class used to communicate with XBoard.
-
-
-
-
-
-
-
-
-
-Exception Summary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/suicideChess/package-tree.html b/doc/suicideChess/package-tree.html
deleted file mode 100644
index 1806fe6..0000000
--- a/doc/suicideChess/package-tree.html
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
-
-
-
-suicideChess Class Hierarchy
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Hierarchy For Package suicideChess
-
-
-
-Class Hierarchy
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/suicideChess/package-use.html b/doc/suicideChess/package-use.html
deleted file mode 100644
index 805dfed..0000000
--- a/doc/suicideChess/package-use.html
+++ /dev/null
@@ -1,187 +0,0 @@
-
-
-
-
-
-
-Uses of Package suicideChess
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Uses of Package suicideChess
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-