A simple Scratch project that simulates a coin flip. Click to spin, click again to stop. The number of spins is logged, as is the number of heads and tails flipped. There is some simple animation, but it could be improved greatly. I have used Broadcast blocks to make the various sprites and announcements appear and disappear at the relevant moments.