About 542,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 …

  4. 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 …

  5. 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 …

  6. Dice Programm in C - Stack Overflow

    Nov 16, 2019 · They want me to create a dice game with the following requests: 5 dice are rolled. Grand is what you get by rolling 5x the same number Poker for 4x the same number Full …

  7. dice game in java (calling from a class with a constructor)

    Jul 30, 2014 · I'm trying to make a dice game with a dice that can give a random number between 1 to 6. I have a class that is called Die which consist of one constructor and two methods. The …

  8. Python - Two player dice game - Stack Overflow

    Feb 9, 2022 · Using Pythons random number generator, 2 players rolls two dice and generates the score (formula in play_game function). Prompt both players and their names, as well as …

  9. Dice game Left Right Center position win bias - Cross Validated

    3 days ago · In the dice game Left-Right-Center there are n players. Each player starts with 3 chips. On each player's turn they roll a number of dice equal to the lesser of how many chips …

  10. c++ - Class Rolling Dice program - Stack Overflow

    Nov 14, 2013 · I need to write C program for rolling dice using class Dice. The main requirement is that I need to use this main, editing it: int main() { Dice* ptrDice; ??? for (int i =...