Commit Graph

43 Commits

Author SHA1 Message Date
4dc083acc1 Version 5.1
===========
Corrected bug in alpha-beta.
2006-06-28 16:59:07 +00:00
feea4b103b Version 5.0
===========
Alpha-beta pruning is the only main change.
2006-06-25 13:26:08 +00:00
1a54cfd06f Quelques modifications mineures 2006-04-29 01:25:12 +00:00
ed438e593a Version 1.4.2
Now possible to undo, save games, restore positions, and view statistics when the computer plays.
2006-01-28 16:35:21 +00:00
a3916eb445 End of game detection now works fine but has made the game a lot slower.
I will imporve this with a : istherevalidmove function.
2006-01-28 13:50:40 +00:00
313cf91ef5 before big code modification (moving player color in Board) 2006-01-28 13:23:01 +00:00
213b1e3bf0 v0.4.1
The computer plays with minmax and detects the end of games
No known bugs
2006-01-27 23:34:09 +00:00
5266b582bb Version 0.4
Now plays with a grandpa minmax.
It is much better, though not excellent ;)
2006-01-26 18:05:16 +00:00
6cf9f27892 Version 0.3 beta 3:
Computer can now play black and white
For some reason the computer cannot play against himself.
I think it must be because of force that is not understood.
2006-01-24 16:16:04 +00:00
dbfd428710 A fully working version of the game.
Works with XBoard only (not eboard).

The program plays the first legal move.
2006-01-17 15:18:53 +00:00
42e56fde4f Rules now become static which makes apparently much more sense. 2006-01-16 16:42:32 +00:00
9167829467 Documentation generated. Some errors corrected in the code. 2006-01-13 17:03:06 +00:00
5a8d3829be Tag:Version 1.99 2006-01-13 16:52:36 +00:00
72fb17e926 problem with the tags in Eclipse.
Fixing by hand.
2006-01-13 16:51:53 +00:00
6b23575976 "" 2006-01-13 16:50:46 +00:00
4585b3ff73 Version 1.99 2006-01-13 16:50:22 +00:00
a21dd9fe2f Creating a tag for version 0.1.99 2006-01-13 16:49:34 +00:00
651ed576bd Version 0.1.99
==============
Everything seems to work fine for a two player game.
2006-01-13 16:48:21 +00:00
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