Commit Graph
3641 Commits
Author SHA1 Message Date
Cody Boone Ferguson 031ca74d9e Improve how to redefine sleep in 1993/rince
Using a Makefile variable one can now do just

    make clobber SLEEP=18 alt

or whatever number they wish.

Also added jkb.alt and jkb.alt2 rules that correspond to the jkb rule.
2023-12-07 05:52:44 -08:00
Cody Boone Ferguson 0fcd68f250 Improve how to redefine sleep time in 1993/plummer
Using a Makefile variable one may do

    make clobber SLEEP=50 alt

to change the Z macro to 50 or whatever they want.
2023-12-07 05:48:10 -08:00
Cody Boone Ferguson 49945cb95f Improve how to redefine sleep in 1993/cmills
Using a Makefile variable one can now do

    make clobber SLEEP=200 alt

to change the time to sleep, rather than the more awkward redefining
CDEFINE.
2023-12-07 05:45:35 -08:00
Cody Boone Ferguson fb245cbf53 Add missing space after = in 1991/rince/Makefile 2023-12-07 05:43:03 -08:00
Cody Boone Ferguson 881aac6767 Add missing space after = in 1985/shapiro
.. the Makefile, that is.
2023-12-07 05:41:58 -08:00
Cody Boone Ferguson 37a466224b Improve how redefine sleep in 1992/kivinen
Using a Makefile variable one can do for instance

    make clobber SLEEP=30000 alt

to change the Z macro, the time to sleep.
2023-12-07 05:40:15 -08:00
Cody Boone Ferguson 2277d88ac5 Improve how to redefine max moves in 1991/rince
By a Makefile variable using

    make MAXMOVES=N clobber alt

where N is an integer will set the maximum number of moves one may make
in the second alt version (rince.alt2.c) (the first alt version
rince.alt.c has no limit).
2023-12-07 05:36:12 -08:00
Cody Boone Ferguson 8f4f9a650a Improve how to redefine size in 1985/shapiro
Now one can just do:

    make clobber SIZE=5 alt

for example. This is done through a Makefile variable.
2023-12-07 05:26:52 -08:00
Cody Boone Ferguson e8ad7a89f5 Add comment about SLEEP var in lycklama Makefile 2023-12-07 05:21:23 -08:00
Cody Boone Ferguson feedf2133f Improve how to define sleep time in 1985/lycklama
With Makefile variables one can just do for instance:

    make SLEEP=700 clobber alt

which will set the macro Z to 700.
2023-12-07 05:17:09 -08:00
Cody Boone Ferguson 94a69dfc99 Fix dead links in 2015/muth/machine_*.h
With the exception of those on the IOCCC website (maybe one other place
but don't think so) the links were dead. These have been replaced for
historical purposes with a captured copy on the Internet Wayback
Machine.

This entry should now be entirely complete.
2023-12-07 03:31:15 -08:00
Cody Boone Ferguson 00f28639e3 Typo fix in 2015/howe/spoiler/err.h 2023-12-07 03:19:14 -08:00
Cody Boone Ferguson d84fc3a893 Add 2015/hou/rfc1321.txt
The README.md file now links to the downloaded copy. This entry is not
done but I needed the change to the README.md out of the way for a
commit I plan on that will be a mass edit to README.md files.
2023-12-07 03:12:54 -08:00
Landon Curt Noll 6a93653206 Merge pull request #1652 from xexyl/howe2015-fixes 2023-12-06 13:10:09 -08:00
Landon Curt Noll 1c66e52156 Merge pull request #1649 from xexyl/muth2015-try 2023-12-06 13:09:18 -08:00
Landon Curt Noll aac8c3cd1a Merge pull request #1647 from xexyl/dlowe2k-try-bugs 2023-12-06 13:03:08 -08:00
Cody Boone Ferguson ff8d406544 Fixes 2015/howe scripts, format/typo checks etc.
The try.sh script runs the commands that were in the try section. Having
this I discovered some errors in the avgtime.sh script which were fixed,
partly by having the cc.1 man page added (as not all systems have cc.1
in /usr/share/man/man1), in this case being gcc.1.gz (unzipped) from
Rocky Linux, and maybe other things besides. That script, avgtime.sh,
has also been updated to make sure at least two args are used and for
ShellCheck though some of the things ShellCheck wants to be done will
break the script so those warnings are disabled.

The README.md file has been format and typo fixed.

The war-and-peace.txt file has been added rather than forcing the script
(each time, in fact) to try and download it from Project Gutenberg.
2023-12-06 12:43:03 -08:00
Cody Boone Ferguson 3adfc9a06a Add 2015/mills2/try.sh, update bugs, formatting
The bugs.md has a INABIAF section for 2015/mills2.

The README.md file has been format and typo checked.
2023-12-06 12:01:56 -08:00
Cody Boone Ferguson 267cbdfef3 Add 2015/mills1/try.sh + format/typo checks
The try.sh script runs the make command in the judges' remarks to make
it easier.

A warning is that if you have good eye-hand coordination and you're good
at games and you have too much time you might end up falling asleep
playing it as you'll probably never die. I only died because I was
trying to mark a reminder complete on the other side of the screen at
the same time as playing .. and I almost survived that .. and 'Cody's
also blind' as the joke goes in the family. That's probably why I ended
up dying. At that point I already had over 90 points.

Still the purpose is to make it easier to play if the default settings
are too frustrating. I contemplated playing with other settings but I
decided not to. An example where it might be improved is to let the user
pass in the environmental variables to override should they wish to but
it is not even clear to me how the variables should be sanitised so
that's an argument against it.
2023-12-06 11:22:13 -08:00
Cody Boone Ferguson af310e0b3a Add 2015/muth/try.sh + format/typo checks 2023-12-06 10:10:31 -08:00
Cody Boone Ferguson 8d020bac96 Add 2015/yang/try.sh + formatting/typo checks 2023-12-06 08:55:43 -08:00
Cody Boone Ferguson 07c10027f7 Add 2000/dlowe/try.sh, update bugs.md, format
The try.sh script also has some fixes in the author's remarks (as in
they were fixed in the author's remarks) - it had "s in the command line
rather than single quotes but some of these command lines had * which
would expand to the files in the directory, causing errors.

The bugs.md has been updated with the issue of not printing 'poot' when
it should. I did some debugging and removed some (obviously nonsense)
ideas I had put in before (without thinking, being too tired, whatever
other reason or reasons). The real issue is a very strange one to be
sure.

I am pretty sure the reason it does not work with macOS (this was
already noted but worth repeating) is the version of perl as the author
noted this as an issue. We still have it as a known bug (some platforms)
but I don't think it's possible to fix without a higher perl version and
neither MacPorts nor Homebrew seem to have this.
2023-12-06 06:40:24 -08:00
Cody Boone Ferguson 4714fa739a Add missing alt code to 2001/ctk 2023-12-06 05:49:37 -08:00
Cody Boone Ferguson 32a41defe8 Format fix in 1994/dodsond2/README.md + thanks
.. that is, the thanks file also had a slight formatting issue.
2023-12-06 05:45:53 -08:00
Cody Boone Ferguson f70481cdb0 Update 2011/akari/.gitignore 2023-12-06 05:39:13 -08:00
Landon Curt Noll df2412fa0d Merge pull request #1643 from xexyl/ferg12020json 2023-12-06 05:33:58 -08:00
Cody Boone Ferguson 4eedc740d9 Update tmp/things-todo.md
I noticed some issues in 2020/ferguson1/.winner.json that although is
for another issue I want to be sure to remember that this is one of the
ones that does in fact have a problem. Later on I can go through the
rest of them (not just mine but every one) and then make sure that
everything is okay.
2023-12-06 05:25:52 -08:00
Landon Curt Noll bccace12d9 update ioccc.css to print all as if they were not visited
Explicitly set default link to blue.
2023-12-06 02:05:26 -08:00
Landon Curt Noll ee72f68777 test sidenav and topnav colors
Experiment with active and visited colors.

Added links for testing to content of tmp/test.html
as well.
2023-12-06 01:47:32 -08:00
Landon Curt Noll 45feb1a7d9 update ioccc.css
Now code, pre, mono font set starts with "Menlo, Monaco, Consolas"
before going to the other font defaults.

Established IOCCC defaults for body, pre, code, blockquote,
a (link, visited, focus, hover, active).

Added pandoc --standalone defaults for some property settings
that we NOT part of the "Establish IOCCC defaults" set above.

The assumption is that the tools that convert markdown to
HTML via pandoc will NOT use --standalone because we want
finer control over CSS.  Even so, there may be good reasons
to go with most of what pandoc recommends: unless we have
good reason to NOT do so.

Reduce font size to 90% (0.9em) for screen that is >= 401 pixels
AND <= 800 pixels wide.

Reduce font size to 80% (0.8em) for screen is <- 400 pixels wide.

Added print media property based on pandoc --standalone.

This is still rather experimental.
2023-12-06 00:53:12 -08:00
Landon Curt Noll 1046fe204b fix contact address
We abandon the previous web page author's attempt to hide Email
addresses.

We force the user to change YYYY to the current 4-digit year.
2023-12-06 00:10:45 -08:00
Landon Curt Noll 78220627a0 move www-history.md into FAQ 1.2 2023-12-05 23:02:49 -08:00
Landon Curt Noll f929afd344 update .winner.json
We used:

```sh
./run_all.sh ./gen_winner_json.sh
```

to update `.winner.json` files due to recent changes
made to `manifest.csv`.
2023-12-05 22:51:27 -08:00
Landon Curt Noll b40d35f4a2 added tmp/echo.sh test tool 2023-12-05 22:47:08 -08:00
Landon Curt Noll 03538ce774 cleanup manifest.numbers
Removed duplicate lines in manifest.numbers.
Fixed case problems with true, false and null.
Fixed leading and trailing whitespace problems.
Fixed multiple whitespace problems.

Improved fix_csv.sh to detect the above mentioned problems in
manifest.csv.

Updated manifest to reflect recent repo changes.
2023-12-05 22:33:08 -08:00
Landon Curt Noll a270a138ea Merge pull request #1642 from xexyl/maffiodo214-try-bugs 2023-12-05 18:52:00 -08:00
Landon Curt Noll 65f67ce581 Merge pull request #1639 from xexyl/vik14 2023-12-05 18:50:47 -08:00
Landon Curt Noll d61e6d10ba Merge pull request #1637 from xexyl/endoh114 2023-12-05 18:50:13 -08:00
Landon Curt Noll 8de7bc7ca5 Merge pull request #1634 from xexyl/readme-inc 2023-12-05 18:48:38 -08:00
Landon Curt Noll f73442fdd0 Merge pull request #1633 from xexyl/sinon2014-gitignore 2023-12-05 18:47:28 -08:00
Cody Boone Ferguson dc538865af Add alt code to 2014/maffiodo2 + try.sh script
The alt code is from the author.

The try.sh script has the example command provided by the judges as well
as some by the author. One was removed because of a syntax error
(removed from the author's examples).

Format/typo check README.md file.

The only thing that has to be done is to update the references to
twitter to note how the IOCCC no longer endorses twitter or whatever the
rocket destroyer wishes to call it (though certainly it won't be worded
like that :-) ).
2023-12-05 13:05:16 -08:00
Cody Boone Ferguson 7d432e5f09 ShellCheck in 2014/maffiodo1 scripts
Disable the useless cat warning. There is no such thing as a useless
cat.
2023-12-05 12:50:39 -08:00
Cody Boone Ferguson b88193f360 Format/typo check 2014/maffiodo1, add scripts
The mario.sh script runs Super Mario Brothers and the giana.sh script
runs the Great Giana Sisters but each allows the user to specify the
width and height of the game.

Format/typo check README.md.

The bugs.md was updated with features, not bugs to fix.
2023-12-05 12:34:27 -08:00
Cody Boone Ferguson a74674e214 Add 2014/morgan/try.sh + format/typo checks 2023-12-05 11:40:04 -08:00
Cody Boone Ferguson c93dc6e9f6 Format/typo check 2014/vik 2023-12-05 11:28:37 -08:00
Cody Boone Ferguson c306944d3f Add try.sh to 2014/endoh2 + formatting/typo checks 2023-12-05 11:23:32 -08:00
Cody Boone Ferguson 539e1dce7f Add 2014/endoh1/try.sh, fix rake.sh, format/typos
The rake.sh script had a typo where '1>&2' was just '1>2'.

The README.md and spoilers.md files were format and typo checked.

I believe this should complete 2014/endoh1.
2023-12-05 11:14:24 -08:00
Cody Boone Ferguson 4a946614e8 Update 2014/deak alt code + format/typo checks
The alt code now lets one redefine the coordinates (which was
deliberately not obfuscated by the author for this purpose). A casual
look at the code would make one think it's not an alt code but it's a
fixed version that the author provided if a certain statement was not
true (see README.md file) so the only thing that is different is that
there is the #ifndef..#define..#endif of coordinates and the fix to
compile (missing a return value, possibly also fixed in the README.md
file, and an added #include <stdio.h> for putchar(3)).
2023-12-05 09:52:32 -08:00
Cody Boone Ferguson ac132f8f6f Add alt code to 2014/birken + format/typo checks
The alt code lets one redefine the port and also redefine the timing
constants. The reason for the port is in case of firewall (though on
localhost that shouldn't be a problem but it does appear to be that it
might bind to other addresses too). The timing one the author specifies
some uses for changing it. Uses #ifndef..#endif.

Format/typo check README.md file.
2023-12-05 09:26:35 -08:00
Cody Boone Ferguson 67c326b819 Minor typos/fixes in inc/README.md 2023-12-05 08:23:15 -08:00