Skip to content

jakekara/ocaml-cardstuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

card stuff

Just wanted to start playing around with very rudimentary simulations, and brush up on OCaml, since I don't get to use it as much as I'd like on a daily basis.

The "simulation" right now just generates a fresh, ordered deck of cards, then shuffles it and draws the first five cards, over and over again until it hits a royal flush, then repeats 10 times and calculates the average number of deals needed to be dealt a royal flush.

Usage:

$ make andrun

About

playing card experiments ("stuff") in OCaml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published