Skip to content
/ cloq Public

A qclocktwo-style clock as a demo of minttea

Notifications You must be signed in to change notification settings

ju-sh/cloq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloq

Replicating a clock's design (QLOCKTWO CLASSIC) with slight changes.

Made as an attempt to get familiar with ocaml's minttea package.

Screenshots

Figuring out the time from the clock

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.

Installation

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.

About

A qclocktwo-style clock as a demo of minttea

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published