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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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 :-) ).
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.
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.
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)).
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.