Commit Graph

30 Commits

Author SHA1 Message Date
db9a7563f1 FPChess: fix in the move validation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4137 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-17 14:49:32 +00:00
3a810728cf FPChess: Small style change (improve some comments, change some variable names in chessgame.pas and remove a couple unnecessary lines)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4115 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-05 00:40:51 +00:00
cd7611184d Fix a bug in pawnHasValidMove and in the pawn initial double move forward validation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2471 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-07-04 18:07:07 +00:00
00912160a0 fix a castle bug and add checkmate and stalemate detection
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2277 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-02-05 22:43:05 +00:00
f59a8e2941 fpchess: FICS playing now works =)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1906 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-06 12:24:08 +00:00
73811c895f fpchess: Fixes login name
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1905 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-06 11:12:55 +00:00
7f43f113b3 fpchess: Advances the FICS code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1904 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-06 11:03:12 +00:00
60540877cb Patch from Brian, adds pawn promotion + some changes from me
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1882 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-01 05:41:04 +00:00
0caf78ba9d fpchess: Improves some coordinates
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1876 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-30 15:17:58 +00:00
f3267c88d3 fpchess: Adds coordinates writing to the log
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1875 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-30 15:05:14 +00:00
af711ad83f fpchess: AI playing actually works now =D
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1874 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-30 14:40:22 +00:00
504857a383 fpchess: Advances the modules interface
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1843 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-27 20:53:13 +00:00
b9f6e146a4 fpchess: Patch from Brian, verifies if a pawn threatens the king
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1750 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-07-21 13:49:28 +00:00
1b3ef64232 fpchess: Patch from Brian to implement castling
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1746 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-07-17 16:11:00 +00:00
48cc2d886f fpchess: Starts checking for moves which will leave the king in check
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1568 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-04-15 14:45:57 +00:00
7060f8080c fpchess: Patch from Brian Chalega da Silva, improves the bishop moves
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1562 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-04-11 05:46:27 +00:00
83e04437f6 Starts implementing the rook and king castling
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1560 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-04-11 05:40:35 +00:00
1e63a6a8df fpchess: Implements the knight movement and rewrites the queen movement
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1559 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-04-10 06:07:53 +00:00
88dd1ab601 fpchess: Implements the king movement and rewrites the rook movement
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1558 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-04-10 05:51:39 +00:00
498b0efc99 fpchess: some cleanup and enpassant refactoring
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1557 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-04-09 06:27:30 +00:00
54c7e64160 fpchess: Improves the timer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1554 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-04-07 06:57:02 +00:00
3304659080 fpchess: Patch from Brian, improves pawn capture
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1552 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-04-07 06:27:40 +00:00
15dc8cfd55 fpchess: Adds some rules for pawn movements
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1550 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-04-04 16:30:23 +00:00
5305fd6321 fpchess: Patch from Brian Chalega da Silva, starts implementing move validation and fixes compilation with the latest Lazarus
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1549 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-04-04 16:09:05 +00:00
e200bb3faf Fixes compilation of the chess game
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1335 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-05 20:05:41 +00:00
7fad6b83aa fpchess is now playable in hotseat mode
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1327 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-23 15:40:21 +00:00
5898609891 Implements support for piece moving in fpchess
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1326 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-23 10:43:52 +00:00
e52bf638d2 Corrects transparency in fpchess
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1325 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-23 07:31:28 +00:00
6a3bf19703 Advances fpchess up to being able to draw the board and tiles, and adds the tile images.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1324 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-22 15:45:23 +00:00
2bd91fb276 Starts building more structure into the chess game
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1323 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-21 06:33:18 +00:00