💡📝H. G. Muller wrote on Sat, Jun 6, 2020 03:34 PM UTC:
Intelligent Diagrams!
I now equipped the diagram with a simple generic AI, so that you can play against it as a demo. It is not very strong; just a simple alpha-beta searcher with a recapture extension instead of an all-capture Quiescence Search, set for a depth of 2 ply. Somewhat like micro-Max 1.6. Except that it doesn't even have good piece values;
it guesses these by itself.
Any Interactive Diagram should now automatically have the clickable phrase 'Play it!'
on the line below the diagram that also served to open the piece overview.
If this is clicked, the AI is switched on, and a button bar will appear.
Any move played in the diagram will then automatically be replied to with a move of the opposite color.
The diagram will continue to do this until you hide the button bar by clicking the 'Play It!' again.
The diagram will collect all moves (both yours and those of the AI) into a game,
and the button bar will allow you to navigate through that game.
On the left is an Interactive Diagram of Nightrider Chess where you can test this.
I have no doubt that much can still (and will) be improved, and that some things will be plainly defective, but it is a start.
(Don't forget to clear your browser cache, or the latter might keep using the old script, which does not have the 'Play It!' link!)
Intelligent Diagrams!
I now equipped the diagram with a simple generic AI, so that you can play against it as a demo. It is not very strong; just a simple alpha-beta searcher with a recapture extension instead of an all-capture Quiescence Search, set for a depth of 2 ply. Somewhat like micro-Max 1.6. Except that it doesn't even have good piece values; it guesses these by itself.
Any Interactive Diagram should now automatically have the clickable phrase 'Play it!' on the line below the diagram that also served to open the piece overview. If this is clicked, the AI is switched on, and a button bar will appear. Any move played in the diagram will then automatically be replied to with a move of the opposite color. The diagram will continue to do this until you hide the button bar by clicking the 'Play It!' again. The diagram will collect all moves (both yours and those of the AI) into a game, and the button bar will allow you to navigate through that game.
Nightrider Chess
On the left is an Interactive Diagram of Nightrider Chess where you can test this. I have no doubt that much can still (and will) be improved, and that some things will be plainly defective, but it is a start. (Don't forget to clear your browser cache, or the latter might keep using the old script, which does not have the 'Play It!' link!)