I think this might help you
01 <html>
02 <head>
03 <script type = "text/javascript">
04
05 //player1 variables
06 var dice1 = ["1", "2", "3", "4", "5", "6"]; //string for concatenation
07 var dice2 = ["1", "2", "3", "4", "5", "6"];
08 var score1; //concatenation
09 var...