← All repos

learn-ocaml-workshop

Exercises and projects for Jane Street's OCaml Workshop

Browse cluster: OCaml Systems and Utilities
172commits
14contributors
6languages

Tech stack & purpose

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.

Community & reference links

Languages

OCaml
94.8%
Scheme
4.3%
HTML
0.5%
Makefile
0.2%
Shell
0.1%
Dockerfile
0.0%

Contributors