tutorial.eyehunts.com
JavaScript random number between two numbers | Code - EyeHunts
You can get a random integer between 1 (and only 1) and 6, you would calculate. Use this Math.floor(Math.random() * 6) + 1 to get random number between..
Rohit