70 Commits

Author SHA1 Message Date
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