[ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Comments/Ratings for a Single Item
With helpful feedback from John Leslie, the preset for Hostage Chess should now be enforcing the rules correctly. The previous Hostage Chess preset, no longer included on this page, allowed Pawns to drop on the first rank, it failed to handle Pawn checks on the last rank correctly, and it erred in a few other details.
Since my brain is getting too tired to continue with this tonight, I'll report my progress here. I got it to recognize 25. P*f7 as check. This took editing the P function in the hostagechess2.txt include file, fixing the best2free function in polish.php, and removing code from the checked subroutine for doing what I now have the P function handling. Curiously, though, it allowed the illegal move 25... n e7-f5, which leaves the King in check. 1. P e2-e4 1... p e7-e5 2. N b1-c3 2... n b8-c6 3. B f1-b5 3... p a7-a6 4. B b5-c6 4... p d7-c6 5. P d2-d3 5... b f8-c5 6. N g1-f3 6... b c8-g4 7. B c1-g5 7... p f7-f6 8. N c3-a4 8... b c5-f2 9. K e1-f2 9... p f6-g5 10. P h2-h3 10... b g4-f3 11. P g2-f3 11... B-b; b*a7 12. B*c5 12... p b7-b6 13. B c5-e3 13... N-b; b*h4 14. n-P; P*g3 14... b h4-g3 15. K f2-g3 15... n*h5 16. K g3-g2 16... q d8-f6 17. N*g4 17... q f6-f7 18. N g4-e5 18... q f7-e6 19. P d3-d4 19... P-p; p*f5 20. Q d1-d3 20... p f5-f4 21. B e3-f2 21... p c6-c5 22. P d4-d5 22... q e6-e5 23. Q d3-a6 23... n g8-e7 24. Q a6-b7 24... k e8-g8 25. P*f7 25... n e7-f5
I am currently working on testing a corrected Hostage Chess preset I have written. Until I can get home and work on the code itself, I am posting the game I have been playing for safe-keeping. 25. P*f7 should have been recognized as a check, but it wasn't. 25... N-b; b*h4 is illegal for not getting the King out of check. 26. P f7-g8; B-g8 was not allowed because it said no B was imprisoned. But one is. 1. P e2-e4 1... p e7-e5 2. N b1-c3 2... n b8-c6 3. B f1-b5 3... p a7-a6 4. B b5-c6 4... p d7-c6 5. P d2-d3 5... b f8-c5 6. N g1-f3 6... b c8-g4 7. B c1-g5 7... p f7-f6 8. N c3-a4 8... b c5-f2 9. K e1-f2 9... p f6-g5 10. P h2-h3 10... b g4-f3 11. P g2-f3 11... B-b; b*a7 12. B*c5 12... p b7-b6 13. B c5-e3 13... N-b; b*h4 14. n-P; P*g3 14... b h4-g3 15. K f2-g3 15... n*h5 16. K g3-g2 16... q d8-f6 17. N*g4 17... q f6-f7 18. N g4-e5 18... q f7-e6 19. P d3-d4 19... P-p; p*f5 20. Q d1-d3 20... p f5-f4 21. B e3-f2 21... p c6-c5 22. P d4-d5 22... q e6-e5 23. Q d3-a6 23... n g8-e7 24. Q a6-b7 24... k e8-g8 25. P*f7 25... N-b; b*h4 26. P f7-g8; B-g8
3 comments displayed
Permalink to the exact comments currently displayed.