Hi,
For fun I took the ChessLib library from https://github.com/bhlangonijr/chesslib and created a chessprogram with it. ChessLib has a move generator, taking away the dull part of chess programming.
My program barely speaks UCI, has an evaluation of material and psq and that's it (well: tt, lmr and null-move of course).
Tons of room for improvement.
Nevertheless it won its first game:
[pgn][Event "test"]
[Site "fics"]
[Date "2021.10.12"]
[Round "1"]
[White "CaffeinatedPawn"]
[Black "atomSargonI"]
[Result "1-0"]
1. Nf3 Nf6 2. d4 d5 3. Nc3 c5 4. dxc5 Nc6 5. Bg5 d4 6. Na4 Ne4 7. c3 f6 8.
Bc1 e5 9. cxd4 exd4 10. Qc2 Qd5 11. e3 Be6 12. exd4 Nxd4 13. Nxd4 Qxd4 14.
Be3 Qb4+ 15. Nc3 Nxc5 16. O-O-O h5 17. Bb5+ Nd7 18. Rd4 Qe7 19. Nd5 Bxd5
20. Rxd5 a6 21. Qg6+ Kd8 22. Bb6+ Kc8 23. Bxd7+ Qxd7 24. Qc2+ Bc5 25. Rxd7
Kxd7 26. Bxc5 Rhc8 27. Rd1+ Ke6 28. Qe4+ Kf7 29. Rd7+ Kg8 30. Qd5+ Kh7 31.
Qxh5+ Kg8 32. Qf7+ Kh8
1-0
[/pgn]
CaffeinatedPawn
Moderator: Ras
-
flok
- Posts: 611
- Joined: Tue Jul 03, 2018 10:19 am
- Full name: Folkert van Heusden
-
flok
- Posts: 611
- Joined: Tue Jul 03, 2018 10:19 am
- Full name: Folkert van Heusden
-
flok
- Posts: 611
- Joined: Tue Jul 03, 2018 10:19 am
- Full name: Folkert van Heusden
Re: CaffeinatedPawn
It also plays now on Joost's server.
-
thunderstruck
- Posts: 50
- Joined: Tue Jul 19, 2016 10:19 am
Re: CaffeinatedPawn
How can I compile this?
-
flok
- Posts: 611
- Joined: Tue Jul 03, 2018 10:19 am
- Full name: Folkert van Heusden
Re: CaffeinatedPawn
I now included a maven build configuration file.
-
flok
- Posts: 611
- Joined: Tue Jul 03, 2018 10:19 am
- Full name: Folkert van Heusden
Re: CaffeinatedPawn
Also at https://vanheusden.com/CaffeinatedPawn/ there's a zip with binaries.