double dice game

How to make a dice game for two player in javascript and html using just two dice?

  1. Each player throws both dice once per turn. You only score if you throw doubles (that is, both dice have the same number of spots on their top face).

  2. Players score five points for double ones, twos, fours or fives. A double six scores twenty five points, but if you throw a double three your score goes back to zero.

  3. Add your score as you play. The first player to get fifty points wins the game. (An adult or older child may need to help score, but you can use this game to teach younger children to count by fives.)

I Expect you don’t want to use Unity for it? Then this isn’t the right place.

better check sites like: Cut and Paste JavaScript dice simulator

Use google with word like “tutorial javascript dice” will give good results.