I took a peek at the source code and it's pretty cool that this was made with just a relatively simple HTML game framework.
Also, playing again being "based on chance" might be my new favorite example of "it's not a bug it's a feature" 😉