Commit Graph

25 Commits

Author SHA1 Message Date
c62bdacb9f Version 0.1.9
Rules are checked and en passant works.

Does not check if black or white is playing.
Does not check multiple possibilities for promotion.
2006-01-13 12:29:54 +00:00
eb0e593ee1 Rules for pawn. Every rule is implemented except 'prise en passant' and obligation to capture. 2006-01-12 17:32:52 +00:00
d1a82db0cf The moves of the Queen are now checked.
Adding checking of the moves for the pawn will allow to release version 0.2 !!!
2006-01-11 22:24:16 +00:00
0ffdf58af4 Testing and debugging of the rules :
by typing "hint a3" it is possible to know all the possible moves for the piece on a3.
(Pawn and Queen not implemented yet)
2006-01-11 18:32:01 +00:00
3b77c214df First version of the doc. 2006-01-10 21:58:06 +00:00
9180601286 Starting to implement the rules:
Patterns for moving king, bishop, knight and rook have been included.
2006-01-10 21:53:31 +00:00
d2c08d60c5 Perfecting comments to be able to create a javadoc. 2006-01-10 15:39:55 +00:00
5373eaf0aa Moves are now intuitive.
Don't have to tell what piece to move and what piece to capture.

Big code cleanup as well.
2006-01-10 12:35:32 +00:00
adf8a216c6 Renaming tag... 2006-01-08 17:17:56 +00:00
8eb1481329 Deleting extra files... 2006-01-08 17:17:26 +00:00
0dc7fea7a2 Deleting extra files... 2006-01-08 17:17:03 +00:00
3d5028f898 Addind a test for promotion. Everything seems to work fine. 2006-01-08 17:15:42 +00:00
8a2690fb91 Version 0.1
===========
This is a first version where it is possible to play in console.
Rules are not implemented and program crashes when moving a piece that does not
exit or when trying to capture our own pieces...
2006-01-07 16:39:35 +00:00
9cd26bfd0c Version 0.1
===========
This is a first version where it is possible to play in console.
Rules are not implemented and program crashes when moving a piece that does not
exit or when trying to capture our own pieces...
2006-01-07 16:38:45 +00:00
f61b6bb90d Creation of a folder to hold different versions of the game. 2006-01-07 16:37:03 +00:00
5bd6db4b06 This is a first version where it is possible to play in console.
Rules are not implemented and program crashes when moving a piece that does not
exit or when trying to capture our own pieces...
2006-01-07 16:34:40 +00:00
08c973a452 In this version it is possible to add and remove a piece (BLACK_PAWN) to the board.
The board is diplayed in a very basic way in the console.
2006-01-05 16:37:20 +00:00
c3ced2c700 Pieces can be added and removed to bitboards.
I need to implement move function and it will be ok for a very basic suicide chess program
without any move checking.
2006-01-05 15:51:46 +00:00
f737485337 NEW CLASS: Square
Class Square and Move work.

I'm still working on BitBoard.
2006-01-05 13:22:38 +00:00
7ce943724c Just to test the keywords... 2006-01-04 19:50:14 +00:00
0b15f1e287 TestXBoardProtocol hasn't changed much. Now it is in a package called test.
NEW FILE: TestMoves -> purpose is to test the Move class

NEW FILE: Move -> this is a first implementation of a simple class that
				  reads a string and converts it to a move or the opposite.

NEW FILE: BitBoard -> this class really doesn't do anything yet.
					  It only has definition of 14 bitboards but they are not
					  created yet.
2006-01-04 19:37:48 +00:00
75d07c5f3f The bug is not in fact a bug but it is part of the XBoard protocol.
It sends an SIGINT signal... I don't really know why.

I have disabled it with: feature sigint=0
2006-01-03 16:50:16 +00:00
88087a7069 Adding simple logfiles to the Test Protocol.
The "broken pipe" bug seems to be inherent to XBoard because it does not happen with EBoard.
Apparently XBoard sends a SIGINT signal to the program !!!

Tiffany does not have this problem... why ?
2006-01-03 16:22:01 +00:00
105eb86b85 Testing the XBoardProtocol :
this version only answers to 'quit', 'e2e4' and 'd2d4'.

BUG? When using with XBoard, error saying 'broken pipe' after the first move...
2006-01-02 17:40:32 +00:00
d2a54faec4 Initial import. 2006-01-02 17:37:49 +00:00