Testing the interactive diagram thing, but i can’t seem to make it work
Try Shift + reload, to make sure the cache is refreshed for the betza.js script. I just had some problems with the diagram too, and I jus uploaded a new version to fix those. For me most of the functions in your diagram seem to work now. (didn't try the AI, though.)
Otherwise, what exactly does not work?
One thing I foresee that will cause trouble is that you use the same id for white and black pieces. The diagram is not smart enough to keep separate sets of ids for white and black; it always assumes that each side can have all pieces in the list. So this will cause ambiguity, and will probably wreck the SAN parser when you want to paste back a recorded game. I solved that in CwdA by giving all black pieces a quote in their id.
Try Shift + reload, to make sure the cache is refreshed for the betza.js script. I just had some problems with the diagram too, and I jus uploaded a new version to fix those. For me most of the functions in your diagram seem to work now. (didn't try the AI, though.)
Otherwise, what exactly does not work?
One thing I foresee that will cause trouble is that you use the same id for white and black pieces. The diagram is not smart enough to keep separate sets of ids for white and black; it always assumes that each side can have all pieces in the list. So this will cause ambiguity, and will probably wreck the SAN parser when you want to paste back a recorded game. I solved that in CwdA by giving all black pieces a quote in their id.