This is my submission to the CodinGame contest "Fall Challenge 2020". It got me to the Bronze league but I believe it was a good basis for the Silver league.
This worked with OCaml 4.11.1.
opam install alcotest dune
dune build
dune runtest
This produces:
_build/default/answer.ml
: Assembled source code that could be submitted to the game server. the cards.