Skip to content

jonathanpaulson/ocaml_minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8b4fd74 · Nov 24, 2020

History

8 Commits
Nov 24, 2020
Nov 24, 2020
Nov 24, 2020
Nov 24, 2020
Nov 24, 2020
Nov 24, 2020
Nov 24, 2020
Nov 24, 2020

Repository files navigation

Minesweeper

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

About

Terminal version of minesweeper. With ncurses! And OCaml!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published