I have not done any programming since I left the Air Force back in 2004, but anyway I decided to call it ChessPawn which is about 980 at the most and I gave it a Rook odds. I will not make this very weak version available since it was for my own curiosity and I do not have any plan to make any stronger version either.
[pgn][Event "Computer chess game"]
[Site "MININT-UB2PIMJ"]
[Date "2021.07.05"]
[Round "?"]
[White "ChessQueen"]
[Black "ChessPawn 0.1"]
[Result "1-0"]
[BlackElo "980"]
[Time "17:36:49"]
[WhiteElo "2000"]
[TimeControl "300+2"]
[SetUp "1"]
[FEN "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/1NBQKBNR w Kkq - 0 1"]
[Termination "normal"]
[PlyCount "59"]
[WhiteType "human"]
[BlackType "program"]
1. e4 c5 2. Nc3 Qb6 3. Bc4 Qb4 4. d3 Qa5 5. Bd2 Qb6 6. Nd5 Qd6 7. b4 cxb4
8. Bxb4 Qc6 9. Bb5 Qg6 10. Nc7+ Kd8 11. Nxa8 Qxg2 12. Qf3 Qg5 13. Qg3 Qc1+
14. Ke2 Qxc2+ 15. Kf3 d6 16. Ba5+ b6 17. Nxb6 Nc6 18. Bxc6 Qxc6 19. Nxc8+
Kxc8 20. Qf4 Qb5 21. Qc1+ Kb7 22. Qc7+ Ka6 23. Bd2 Qxd3+ 24. Be3 Qd1+ 25.
Ne2 Qxh1+ 26. Kg3 Qxe4 27. Qxa7+ Kb5 28. Qb6+ Ka4 29. Nc3+ Ka3 30. Qb3# 1-0[/pgn]
I finally programmed my 1st very weak Engine
Moderator: Ras
-
- Posts: 5685
- Joined: Wed Sep 05, 2018 2:16 am
- Location: Moving
- Full name: Jorge Picado
-
- Posts: 1274
- Joined: Wed Mar 08, 2006 8:28 pm
- Location: Florida, USA
Re: I finally programmed my 1st very weak Engine
Congrats on the new addiction! In all seriousness, creating an engine that plays chess is something to be proud of.
Steve
Steve
http://www.chessprogramming.net - Juggernaut & Maverick Chess Engine
-
- Posts: 5685
- Joined: Wed Sep 05, 2018 2:16 am
- Location: Moving
- Full name: Jorge Picado
Re: I finally programmed my 1st very weak Engine
Steve Maughan wrote: ↑Tue Jul 06, 2021 3:00 pm Congrats on the new addiction! In all seriousness, creating an engine that plays chess is something to be proud of.
Steve
This is a small chess engine of only 2200 characters of source-code, I only implemented a hash transposition table, checking of the legality of the input moves, and FIDE rules. I knew that is was going to be very weak since I only spent 10 days and it was to satisfy my curiosity, but no desire to work on it any further, I might modify it and create a Minichess engine on a 6x6 board where the pawn can only move one space eliminating one bishop and one knight on each side for curiosity to play against it.
