Interesting idea and hard to implement! Hard to imagine how many codes has been written. Nicely done.
I played the web version and encountered something. When lowering the resolution in windowed mode, whole game got less of the frame and it made the buttons not working. Reloading was not enough and it made me to figure it out somehow. I found out that clickable area had a offset to the buttons when the resolution was lower. On fullscreen it was okay. Maybe it's better to recommend players to play on fullscreen.