send link to app

Game Coin


4.2 ( 1392 ratings )
Sports Jeux Carte Dés
Développeur StartApps, LLC
0.99 USD

Simply touch the coin and it will start to flip rotate the coin head and tail until its 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.

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

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

TossCoin()

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.