I initially had the idea of coin flipping for my game too, but ultimately went with something different because I couldn't think of something good. You implemented this well!
It was not as easy as I thought it would be! Nice job! Only thing I'd change is how far the coins can get from the camera. It can be really hard to see them.