Commit Graph

63 Commits

Author SHA1 Message Date
brian-ch
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
brian-ch
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
brian-ch
7c5d6d88be FPChess: Fix engine play with black
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4106 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-01 15:56:59 +00:00
brian-ch
5d7cc4210a FPChess: Fix in mod_winboard and apply animation to the engine moves
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4105 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-01 15:21:22 +00:00
brian-ch
ce2fa416c9 fpchess: clean up and fixes of the winboard module
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2843 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-20 01:28:33 +00:00
brian-ch
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
brian-ch
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
brian-ch
45a7900c4e Add some enhancements and fixes in the winboard mod
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2168 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-11-27 16:13:27 +00:00
brian-ch
a833a301a5 Added files for the winboard module: mod_winboard.pas and winboardconn.pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1920 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-07 18:02:31 +00:00
brian-ch
4c6c780c57 Added support to play against a winboard engine
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1918 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-07 17:43:42 +00:00
sekelsenmat
bbc5a584ba fpchess: Moves the thread code to a correct place
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1912 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-07 08:12:03 +00:00
sekelsenmat
3b9b1c8d61 fpchess: Updates to 0.6
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1908 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-06 15:59:32 +00:00
sekelsenmat
f44338de19 fpchess: Increases the default kcchess difficulty
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1907 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-06 12:27:09 +00:00
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
8ce0f66b60 fpchess: Advances the telnet code to communicate with fics
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1903 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-06 06:20:37 +00:00
sekelsenmat
1998ad3bf8 fpchess: Starts adding more telnet and regex support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1902 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-05 16:41:42 +00:00
sekelsenmat
84337f5721 fpchess: Moves the computer thinking to a separate thread and creates a configuration for the difficulty
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1901 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-05 15:54:52 +00:00
sekelsenmat
da76ec6e93 fpchess: Updated the iss for the 0.5 release
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1900 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-05 14:07:28 +00:00
sekelsenmat
dab59ca11c fpchess: Implements animations for the computer moves
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1897 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-05 07:08:34 +00:00
sekelsenmat
5ab9f08077 fpchess: Adds forgotten promotion form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1896 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-04 16:32:54 +00:00
sekelsenmat
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
sekelsenmat
79e55f98bc fpchess: Improves the mode description
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1880 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-30 16:33:47 +00:00
sekelsenmat
be8fca9a75 fpchess: Disabling kcchess verbose
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1878 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-30 16:08:35 +00:00
sekelsenmat
7d9cde1a4e fpchess: Had forgotten to make AI moves in its board
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1877 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-30 15:42:10 +00:00
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
8e74329135 fpchess: Minor changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1873 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-30 13:46:20 +00:00
sekelsenmat
ec7ac2a03b fpchess: Adds more kcchess files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1872 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-30 13:21:59 +00:00
sekelsenmat
8659c35b4f Starts commiting the KCChess engine
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1871 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-30 12:37:28 +00:00
sekelsenmat
e0bebc82cd fpchess: Improves the UI
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1847 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-28 06:32:54 +00:00
sekelsenmat
0a26a629ff fpchess: Fixes a crash and start implementing the telnet code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1846 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-27 21:49:44 +00:00
sekelsenmat
de135f4ea0 fpchess: Some fixes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1845 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-27 21:16:40 +00:00
sekelsenmat
797e6dfabd fpchess: Recreates the button to start playing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1844 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-27 21:04:29 +00:00
sekelsenmat
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
sekelsenmat
8b93de655c fpchess: Starts making the game modular
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1842 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-27 20:14:54 +00:00
sekelsenmat
f72e2330a9 fpchess: Previously forgot to add the images to the installer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1752 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-07-21 14:53:12 +00:00
sekelsenmat
e34a60fd5d fpchess: Adds a windows installer and fixes windows compilation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1751 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-07-21 14:44:39 +00:00
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
27ae008cc6 fpchess: Implements obtaining the resources directory, allows running from the Bundle in Mac OS X
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1553 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-04-07 06:35:58 +00:00