The game of Pig is a simple two-player dice game in which thefirst player to reach 100 or more points wins. Players take turns.On each turn a player rolls a six-sided die. After each roll: a) Ifthe player rolls a 1 then the player gets no new points and itbecomes the other player’s turn. b) If the player rolls 2-6 thenthey can either roll again or hold. If the player holds the sum ofall rolls is added to his/her score and the turn passes to theother player. Write a program that plays the game of Pig where oneplayer is human
PayPal Gateway not configured
PayPal Gateway not configured