Files
Guido Knips 7a62098e94 Un-ignore Cargo.lock
Official cargo documentation says Cargo.lock should be
under version control for binaries (but not for libraries)

see https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries
2023-08-28 21:06:35 +02:00
..
2022-03-05 09:29:23 +01:00
2022-10-14 20:48:31 +02:00
2022-03-05 09:29:23 +01:00
2022-04-02 08:10:01 +02:00
2022-03-05 09:29:23 +01:00
2023-08-28 21:06:35 +02:00

Dice

Not exactly a game, this program simulates rolling a pair of dice a large number of times and prints out the frequency distribution. You simply input the number of rolls. It is interesting to see how many rolls are necessary to approach the theoretical distribution:

2 1/36 2.7777...%
3 2/36 5.5555...%
4 3/36 8.3333...%
etc.

Daniel Freidus wrote this program while in the seventh grade at Harrison Jr-Sr High School, Harrison, New York.


As published in Basic Computer Games (1978):

Downloaded from Vintage Basic at http://www.vintage-basic.net/games.html

Porting Notes

(please note any difficulties or challenges in porting here)