Skip to content

jakekara/ocaml-cardstuff

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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