I am creating a dice game called Farkle. In this game, there aresix dices that will be roll.When the dices are roll, they will stopat some random number between 1-6. I need help creating a functionfile that takes a numerical row vector input of any length withvalues consisting of 1-6 and outputs the concerted Farkle score.Farkle scores are
One “1” = 100
One “5” = 50
Three “1’s”= 1000
Three “2’s”= 200
Three “3’s” = 300
Three “4’s”= 400
Three “5’s”= 500
Three “6’s”= 600
Expert Answer
An answer will be send to you shortly. . . . .