About 657,000 results
Open links in new tab
  1. Dice roll in javascript - Stack Overflow

    Dec 20, 2013 · 0 Created Dice Roll with Rolling animation effect using . This will allow you to "roll" dice in 2D, giving you a random set of dice after 1 second.

  2. In Python, how do I ask the user to input a Y or N to continue?

    I want to write a program that rolls a die. Now this is what I have : import random print("You rolled",random.randint(1,6)) And I also want to be able to do something like this: print(&q...

  3. Basic Random Rolling Dice Java - Stack Overflow

    I am trying to write a method rollDice (int number, int nSides) which returns the total result of rolling the number dice with nSides sides. So for example rollDice (3, 6) should return the result of rolling 3 six …

  4. C program dice game - Stack Overflow

    I am in trouble with my dice game. I have a task: The rules of the game are the following: 1. The player rolls the dice and adds up the face values. 2. If the first roll is a 7 or 11, the player w...

  5. Dice game between 2 players up to a score of 50 - Stack Overflow

    Jul 28, 2020 · 1 I am creating a game where two players are rolling dice against each other. Two people (player A, player B) play a dice game. they roll a dice each round and the higher number wins the …

  6. project - How do I loop this Dice Game so that it plays for five rounds ...

    Nov 19, 2018 · How do I loop this Dice Game so that it plays for five rounds? (Python GCSE) Asked 7 years ago Modified 6 years, 9 months ago Viewed 11k times

  7. Dice Rolling java program - Stack Overflow

    Oct 7, 2014 · I'm making a dice rolling game! 2 dice will be rolled and 2 random numbers between 1-6 will be generated. The sum will be taken from the 2 numbers and used to decide what is next. If …

  8. Dice rolling game in python - Stack Overflow

    Sep 18, 2020 · I am completely new to coding and trying to write somewhat of a dice rolling program/game. I want the program to ask how many dice the user wants to roll, and how many times …

  9. python - Dice Game Simulation - Stack Overflow

    Dec 8, 2018 · 1. Run a play -> For each dice rolling 2. Run a game -> Alternation of plays between A and B, until the first one gets a 6 on the dice (here considering that if A gets a 6, B doesn't even need …

  10. function - Python Dice Game Guidance - Stack Overflow

    The dice are then rolled, and the result is set as the 'point' 3. The dice are rolled again, with a 7 or 11 resulting in a win, a 2, 3, or 12 resulting in a loss, and any other outcome resulting in a reroll.