Author:
- Name: Yusuke Endoh
Location: JP - Japan
To build:
make
An alternate version of this program exists. See Alternate code below.
To use:
./prog
Try:
./run_clock
# And watch closely for 15-20 seconds
Alternate code:
An alternate version of this entry, prog.alt.c, is provided. This alternate code uses Unicode letters.
Alternate build:
make alt
Alternate use:
Use prog.alt
as you would prog
above.
Alternate try:
./run_clock.alt
# And watch closely for 15-20 seconds
Judges’ remarks:
You may be tempted to use a mirror. Resist the temptation! Try figuring out how the clock hands are drawn. Can you change the program to make it draw a familiar (non-mirrored) clock face? Can you add the second hand?
When using the run_clock.sh shell script, your perception of time might depend on what time it is.
Author’s remarks:
Prepare a mirror!
make clock
Note: You need to recompile it each run.
Inventory for 2020/endoh3
Primary files
- prog.c - entry source code
- Makefile - entry Makefile
- prog.alt.c - alternate source code
- prog.orig.c - original source code
- run_clock.alt.sh - script to try alternate code
- run_clock.sh - script to run entry
Secondary files
- 2020_endoh3.tar.bz2 - download entry tarball
- README.md - markdown source for this web page
- .entry.json - entry summary and manifest in JSON
- .gitignore - list of files that should not be committed under git
- .path - directory path from top level directory
- index.html - this web page