Skip to content

Latest commit

 

History

History
40 lines (20 loc) · 484 Bytes

README.md

File metadata and controls

40 lines (20 loc) · 484 Bytes

Berlin Clock

A simple multi-line text implementation of the Berlin Clock.

http://www.3quarks.com/en/BerlinClock/

Usage

You can either use sbt or the clock script file to provide a time as follows

sbt "run 14:26:51"

./clock.sh 14:26:51

Clock Output Format

Yellow lights are represented by Y

Red Lights are represented by R

Unlit lights are represented by .

So for the above example you should see

Y

RR..

RRRR

YYRYY......

Y...