Rolf Kreibaum
Rolf Kreibaum
Should also cover Joe's stream.
I'll need an App access token to subscribe to a webhook with the (dev.)pacoplay.com server. https://dev.twitch.tv/docs/authentication/#app-access-tokens https://dev.twitch.tv/docs/api/reference/#create-eventsub-subscription https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types/#streamonline https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types/#streamoffline

Added AI label, because this is a candidate for the spurious non-ending games that Thomas saw.
With the relatively new DrawState struct which already does reset_half_move_counter on union-addition and promotion, this should now be relatively cheap. I just need the reset_half_move_counter to know if this is...
On a bitboard implementation, this would just be "white pieces" xor "black pieces" |> count_ones |> (==2)
Here is one that currently doesn't even get a reply back from the wasm worker and which used to crash the server before the fix in 6208656859d6c66a8f57a220f34201ff2ee142c9 https://pacoplay.com/editor?fen=N1S1s1Ss/SpS1P1Sp/S1sp1SP1/ppS1S3/1H1S1S2/1pHPHs1s/KDpppppp/2sSSSSk%20w%200%20ahah%20-%20-
I have build the core of the new algorithm and it gives correct looking results. Right now I have only used it to try and speed up some Julia code....
This second commit also makes it work in situation where a piece is currently in the chain. This has seen drastic improvements to the performance. (10x for the lunalearn.jl script)