A terminal version of Minesweeper.
Written as an exercise to learn OCaml! Uses the ncurses library for the UI.
Should work in OS X after following these instructions to install OCaml.
Build:
corebuild -pkg ctypes.foreign -lflags -cclib,-lncurses minesweeper.native
Play:
./minesweeper.native # 16x16 board with 40 mines ./minesweeper.native -r 9 -c 9 -m 10 ./minesweeper.native -r 30 -c 16 -m 99