You are using an outdated browser. Please upgrade your browser to improve your experience.

Game Coin

Paste this code into your website: Customize

Game Coin

Simply touch the coin and it will start to flip rotate the coin head and tail until it's randomly rest to stop face-up side is declared the winner.

Coin flipping, coin tossing, or heads or tails is the practice of throwing a coin in the air to choose between two alternatives, sometimes to resolve a dispute between two parties. It is a form of sortition which inherently has only two possible and equally likely outcomes.

During a coin toss, the coin is generate randomly by computer

var randomNumber = Int(arc4random_uniform(100))
if(randomNumber > 50)
targetCoinSide = "head"
targetCoinSide = "tail"


and simulate it rotation end-over-end several times. Either beforehand or when the coin is in the rest stop, an interested party calls "heads" or "tails", indicating which side of the coin that party is choosing. The other party is assigned the opposite side. When the coin comes to stop, the toss is complete and the party who called or was assigned the face-up side is declared the winner.
StartApps, LLC