About 50 results
Open links in new tab
  1. Dice roll simulator (updated) created using Python 3.5 and PyQt5

    Aug 28, 2017 · This is the updated version of the dice roll simulator code I posted some time ago. I've made several changes and additions including ones suggested by users here.

  2. Craps Simulator Exercise - Code Review Stack Exchange

    Feb 20, 2019 · I did another exercise, this time it simulates n games of craps (dice game) and outputs the wins and win percentage! #craps.py -- Simulates multiple games of craps # and estimates the …

  3. python - Dice-rolling simulator - Code Review Stack Exchange

    Dice-rolling simulator Ask Question Asked 12 years ago Modified 9 years, 11 months ago

  4. python - Dice simulator program - Code Review Stack Exchange

    May 19, 2018 · Mathias is referring to your ASCII art of the dice. Obviously they aren't the real results of your code, they just aren't a picture of real dice (since real dice wouldn't have 3 and 4 on touching …

  5. Rolling dice simulator with probability - Code Review Stack Exchange

    Jul 31, 2017 · I'm a beginner at Python, and to start off my learning progress I created a simple program which will roll a dice and decides the probability of it. It would be great to have criticism on my code, ...

  6. 2 player dice game, 5 rounds, points system - Code Review Stack …

    Apr 15, 2021 · 2 I was asked to program the following: Develop a two-player dice game that will have the players roll two 6-sided dice each and get points depending on what they roll. There are 5 rounds in …

  7. This code is a non-static C# class for rolling a number of dice

    Apr 17, 2021 · The Roll method would belong to Dice. This class should not track total rolls. A DiceGame class that is your UI. It prompts the user for input, creates a Dice instance based on …

  8. Basic python dice simulator with log function

    Jan 4, 2018 · A dice cup lets you know how many dice there are and lets you roll them all, but you don't know anything about the relationship between the dice so it doesn't let you take the total, for example.

  9. Imitate randomness of a dice roll - Code Review Stack Exchange

    Ask the user how many dice rolls to do Create an ObservationArray Roll dice as many time as expected Print the result In OOP, you need rather to think in term of components which you can see as black …

  10. c++ - Simple Dice Roll game - Code Review Stack Exchange

    Sep 29, 2013 · The Game class will define the game rules, while the Die class will represent one die and will allow you to create dice (Die objects). The Game class will handle most of the work, and main() …