Replicating a clock's design (QLOCKTWO CLASSIC) with slight changes.
Made as an attempt to get familiar with ocaml's minttea package.
Read the currently 'lit up' words to find a time.
Each of the four circles at the bottom represent a minute. A filled white circle means we should add one minute to the time we figured out from the message displayed.
Number of seconds is not indicated.
Dependency versions:
- OCaml compiler v5.2.1
- dune: v3.17
- minttea: v0.0.2
- spices: v0.0.2
- ppx_string: v0.17.0
Doesn't work with OCaml compiler v5.3.0 because a minttea dependency needs <v5.2.2
OCaml compiler v5.2.1 can be installed with opam if it's not already installed:
opam switch create 5.2.1
To build this project itself, first clone this repo and run the following commands to install the dependencies:
opam update
opam install minttea spices ppx_string dune
Then, build the project and run it:
dune build
dune exec cloq
Press Q to exit.