Files
ioccc/2020/endoh3
Landon Curt Noll d414b6d71f add quick-readme2index.sh, improve all-run.sh and readme2index.sh
Improved `all-run.sh` and `readme2index.sh` so that
certain command line options (e.g., -p, -P, -u, -U ...)
are only passed along to other tools if they are
given on the command line.

all-run.sh VERSION changed from "1.1.1 2024-01-19"
to "1.1.2 2024-01-20",

readme2index.sh VERSION changed from "1.1 2024-01-16"
to "1.1.1 2024-01-20".

Added `quick-readme2index.sh` that only calls
`readme2index.sh` if the `index.html` is not
a non-empty file, or of either `.winner.json`
and/or `README.md` is newer than `index.html`.

Updated all `index.html` files because the
the file contains a comment that includes
the newly modified readme2index.sh VERSION.
2024-01-21 00:21:40 -08:00
..
2023-12-26 09:00:03 -08:00
2020-12-31 18:34:17 -08:00
2020-12-31 18:34:17 -08:00
2023-07-06 21:49:38 -07:00
2024-01-15 04:29:39 -08:00

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.

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.

This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. You are free to share and adapt this file under the terms of this license:

Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)

For more information, see: https://creativecommons.org/licenses/by-sa/4.0/