Each player MUST enter their name into a textbox before starting the game. Make sure that your program forces the players to enter their names before allowing the game to start.
Always have Player 1 go first. Player 1 attempts to get as close to 101 by possible without going over. The first player rolls a dice (so randomly give the user a number between 1 and 6). Then the player decides whether to count the number as it is OR multiply it by 10. For example, if the number rolled is a 6, then the user either takes a 6 or 60. That value is then added to their current total (they would start at 0). Then the same player can either STOP rolling ([login to view URL]) or roll again and try to get closer to 101 without going over. Once Player 1 either stops rolling, or gets 101 or goes over 101, it is Player 2's turn. If Player 1 went over 101, then player 2 wins automatically. If Player 1 got 101, then Player 1 will win but Player 2 can try to also win by also getting 101 without going over (so 2 winners). If Player 1 holds (at say 99), then Player 2 has to try to either get more than Player 1 but not go over 101 or tie with Player 1 (so there would be 2 winners). At the end of the game, you should colourfully or with graphics, using CSS, display the winner and then let the users restart the game without reentering their names.
** note i have some the hmtl and css
8 freelancers are bidding on average $47 for this job
Hi, I am a UI developer with more than 7 years of experience. I can work in your project and start from now. Please send me the HTML and CSS file so that I can start asap.