live demo: https://itai-rozen-dice-game.netlify.app/
If the dice' numbers are not the same (1 2, 4 3, 6 1 etc) - the sum of dice is added to player's current turn. The player then has a choice either to end his turn and add current turn's score to his total score, or roll the dice again. But:
If both dice have the same number - player loses all his points gained in current turn & turn is moved to the oponent.
Bonus - players can change target score, name & avatar in the settings menu. You can choose any character from the awesome Mortal Kombat II. In other words - choose your destiny. Bonus II - turn on the sound! you'll enjoy some mesmerizing MKII SFX (toasty!) during the game.