Questions tagged [dice]

Simulations of fair N-sided die tosses and other games of chance involving random number generation.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
23 views

Frequency analysis for simultaneous dice rolls

My professor told me to optimize my perl code, but he wouldn't tell me what exactly - just make it simpler. I changed some little things but nothing major. Am I missing something? The task was: ...
4
votes
0answers
182 views

Ten Thousand: a dice game for multiple players v0.3

I've learned so much, how could I not come back for more? I think this is much improved. The only thing I have not implemented from Ten Thousand: a dice game for multiple players - follow-up is ...
4
votes
0answers
68 views

Evaluating RPG-formatted dice rolls with repeats in Clojure

My target was to write a function that takes a String as input, interprets it as a series of dice rolls, evaluates it and returns a series of integers. The input is in a form that is typical in table ...
3
votes
0answers
378 views

Ship capt crew dice game

I built this game that I used to play at family get-togethers. I am still working on the final implementation of how to actually play someone in the game. Please critique the main logic of the dice ...
2
votes
0answers
136 views

Solo dice game (from Reiner Knizia’s Decathlon)

I'm trying to implement Reiner Knizia’s Decathlon, a set of 10 solo dice games played with 8 dices named after Decathlon events in Olympics. The first event is called "100 Metres". The player divides ...
2
votes
0answers
298 views

Dice-rolling Android app

This is just a simple app. All it's suppose to do is move the dice around the screen when the user swipes up or down. It will move 2 dice (image drawables) to a position on the screen depending ...
1
vote
0answers
154 views

Tensorflow model for predicting dice game decisions

For my first ML project I have modeled a dice game called Ten Thousand, or Farkle, depending on who you ask, as a vastly over-engineered solution to a computer player. You can find the complete game, ...
1
vote
0answers
53 views

Pig game in Angular4

I am a newb in Angular 4. I have written a component but have some questions. I used member variables of class and modified variables within functions. Is this right approach or I should implement it ...
0
votes
0answers
45 views

D&D Dice Roller

Here I have a program I made to be an all-in-one Dungeons and Dragons 5th Edition (it probably works for other games as well but this is the only one I'm familiar with and the one it was primarily ...