Interesting, I was pondering something similar just now. Oy vey, though, 5 ether a play is pretty pricey! A much more interesting game, at least to me, would be more like 0.1 ether to play and a one hour timeout.
10% of every contribution seems a little steep as a fee, too.
Edit: The code seems to act as described, albeit it's rather hairy, inefficient, and poorly written.