A tetris implementation in OCaml, then compiled to js using js_of_ocaml. https://alexchang8.github.io/tetris-caml/tetris.html