Implementing the pickCoin game.