I made a simulator for Bertrand's box paradox but with cards instead, which you run in your browser.
>open this link:
https://pastebin.com/ANBM3Vg4
>click "download"
>change ".txt" in the filename to ".html"
>click to open the html file
>it will open up in a web browser
>text might be jumbled but kings are black, queens red
>press button to shuffle
>press any stack once to reveal the top card, twice to reveal both cards, three times to hide both cards