Exercises and projects for Jane Street's OCaml Workshop
Browse cluster: OCaml Systems and Utilities →Learn OCaml Workshop is a collection of exercises and projects from Jane Street for learning OCaml through game development. The repository contains four main projects: Frogger (a browser-based game built with OCaml and transpiled to JavaScript using js_of_ocaml and dune), Lumines (a Tetris-like block-dropping game), Snake (a classic snake game), and a fuzzy finder utility similar to fzf that reads from stdin and interacts with the terminal via /dev/tty. All projects emphasize functional programming idioms, with game state represented as immutable types and progression handled through pure functions like `tick` and `handle_event`. The workshop teaches OCaml fundamentals including pattern matching, module interfaces, and functional game logic design using the dune build system and libraries like Base.