358 Commits
Author SHA1 Message Date
Cody Boone Ferguson 2330bee2b2 Format fix 2006/stewart/README.md + update bugs.md 2023-04-30 10:26:09 -07:00
Cody Boone Ferguson afe7bc1a17 Fix and add alt code to 2006/sloane
Alt code uses usleep() with the macro Z (default 65000 but one can
override it - I explain in the README.md how to do this) to let one see
in modern systems what is going on. This also allows for those (like
myself) who don't like to see text (or other things) zooming by very
rapidly. The former is more important for most people I'd think. It
didn't even occur to me what was going on until I slowed it down and the
award title didn't mean anything to me until after it either though I
read about this entry a long time ago. But still the latter part is
useful as well.

Format fix README.md.

Fix compilation in some systems: compilation issue is that some
systems (looking at fedora and CentOS linux and probably others) don't
link in lm by default.

The other issue is what the author stated - that not using certain
includes might cause problems. To not ruin the format of the code I
added -include ... to the Makefile.
2023-04-30 09:59:04 -07:00
Cody Boone Ferguson ae310f9372 Fix and add alt code to 2006/night
Add alt code: since I'm a lost :-) vim user and the author provided how
to add back support for arrow keys I made this in the alt version.
Updated .gitignore for this.

Format fix README.md.

Fix link.

Added link to Yusuke Endoh's analysis of the entry as he offers some fun
commentary and especially fun is how to cheat. Perhaps I should not do
that but since he provided some other fun comments and since the
README.md files are no longer supposed to have spoilers as such why not.
2023-04-30 09:38:23 -07:00
Cody Boone Ferguson 69d530e978 Format fix 2006/monge/README.md + update bugs.md 2023-04-30 09:14:30 -07:00
Cody Boone Ferguson 1cb018146d Format fix 2006/meyer/README.md 2023-04-30 08:55:28 -07:00
Cody Boone Ferguson d0b357e4c5 Format fix 2006/hamre/README.md + update bugs.md
There are a few 'issues' that are INABIAF so these were noted in the
README.md and the bugs.md. You might find some punning there.
2023-04-30 08:45:29 -07:00
Cody Boone Ferguson feb0e3eb37 Format and link fix 2006/grothe/README.md 2023-04-30 08:35:26 -07:00
Cody Boone Ferguson f2a98a2ed3 Fix compilation and README of 2006/borsanyi
The Makefile needs -lpthread because not all systems implicitly link it
in. I tentatively noted this fix in the README.md but I'm not sure about
it as it's nothing special at all.

Format fix README.md. I note that I could not add <>s to the email
address as for some reason (in particular the dot in the email early on)
caused rdiscount (or I think - vim syntax certainly had a problem).
2023-04-30 07:16:02 -07:00
Cody Boone Ferguson c96e204326 Fix author format in 2006/birken/README.md 2023-04-30 06:49:38 -07:00
Cody Boone Ferguson 7427849b4c Format fix 2006/birken/README.md 2023-04-30 06:24:00 -07:00
Cody Boone Ferguson b4e480a7cf Detoxify Stephen Sykes (remove drug link) :-)
Sound crazy? That's because it is! The URL is no longer owned by Stephen
and instead it's a marijuana dispensary in Canada. That's right. The
IOCCC has been endorsing drugs for some years now! :-) (or maybe it's
:-( ? :-) ).

Used Internet Wayback Machine link instead.

Updated the CSV files, the winners.html files and all the relevant
README.md files.
2023-04-17 11:49:51 -07:00
Cody Boone Ferguson 4bf3f302cb 'comments' -> 'remarks' in all README.md files
As in

    sgit -e 's/\([Aa]uthor.*\)comments/\1remarks/g' -e 's/\([Jj]udge.*\)comments/\1remarks/g' '*README.md'
2023-04-10 11:01:39 -07:00
Cody Boone Ferguson e09f677b37 Mass typo fix (all README.md and Makefiles)
As in

    sgit -e 's/the terms this license/the terms of this license/g' '*/Makefile' '*/README.md'
2023-04-02 09:27:13 -07:00
Cody Boone Ferguson e805f41d34 Mass fixes to headers in README.md files
There were many many README.md files with the wrong heading level for
different sections. These have been changed.

To help go through the changes it should be noted I used sgit and also
here is what is changed:

The 'Try', 'To build' and 'To run' lines have two '#'s. Some had one and
others had three.

An exception is that in 1984/anonymous/README.md for the alternative
code that had three '#'s. This is not consistent yet and it might be
that only two are desired. But for now that one at least has three.
2023-03-31 06:43:59 -07:00
Landon Curt Noll 350da723cc improve architecture and Optimization comments in Makefiles 2023-03-26 22:13:13 -07:00
Landon Curt Noll 1c35dc3b47 make everything true :-)
Add @${TRUE} as an action for the everything rule in Makefiles.
2023-03-26 20:47:04 -07:00
Landon Curt Noll e42d7484cd trim comments and update 133t hacker rulz in Makefiles 2023-03-26 20:24:16 -07:00
Landon Curt Noll 1b1dd2f2e4 put all README.md files under CC BY-SA 4.0 License
This will make is easier for others to share README.md
files while requiring them to attribute the file
when using it.
2023-03-26 02:58:27 -07:00
Landon Curt Noll 8cd2aa85c1 clean up and improve end of Makefile rules 2023-03-26 02:02:31 -07:00
Landon Curt Noll d04e6d8f03 remove X11_LIBDIR and X11_INCDIR setting from Makefiles
The X11_LIBDIR and X11_INCDIR values are now set in the
top level `var.mk` file.
2023-03-26 00:50:47 -07:00
Landon Curt Noll bbd18a20df improve Makefile headers
Simply the Makefile header.

Refer to the //www.ioccc.org/bugs.md URL (that will eventually exist).

Now using CC BY-SA 4.0 License to how you may share and adapt the
Makefile.
2023-03-25 23:51:14 -07:00
Landon Curt Noll a7d6f73094 fix Makefile header for 2006/sykes1 2023-03-25 21:46:42 -07:00
Cody Boone Ferguson bdf28c8663 Add sykes1.html to 2006/sykes1/.gitignore 2023-03-25 05:35:03 -07:00
Cody Boone Ferguson 7b2953df20 Add -f to ${RM} in 2006/sykes1/Makefile 2023-03-25 05:33:44 -07:00
Cody Boone Ferguson 0c07302777 Fix segfault in 2006/birken under macOS
The problem was a missing +1 for strlen() in a malloc() call.

This entry still uses gets() and strangely changing it to fgets() makes
it segfault but I'll worry about this later when more entries have been
checked and (if possible) fixed.
2023-03-24 10:40:12 -07:00
Cody Boone Ferguson 626304242f Fix 2006/sloane for clang
The problem was that the second arg was not of type char ** but an
implicit int and broken record though I am clang forces the types to be
correct without any option to disable this.

As it happens though the second arg is not even used so I removed it as
clang does allow this for some reason. This helps with keeping the
original format as close as possible. This triggers a different warning
but that's okay.

I also added a warning to the README.md about how it is a lot of change
in text very quickly as this could cause some problems for some people.
2023-03-24 04:39:22 -07:00
Landon Curt Noll b7e6c99532 fix top level Makefile for 2006 2023-03-23 19:06:49 -07:00
Landon Curt Noll e32a9a7a64 fix .gitignore for 2006/stewart 2023-03-23 19:05:59 -07:00
Landon Curt Noll eb349a6df4 fix .gitignore, Makefile, README.md for 2006/toledo3 2023-03-23 19:04:55 -07:00
Landon Curt Noll c24ce44990 fix .gitignore, Makefile, README.md for 2006/toledo2 2023-03-23 18:52:20 -07:00
Landon Curt Noll db071cbdff fix Makefile and README.md for 2006/toledo1 2023-03-23 18:47:17 -07:00
Landon Curt Noll e092963687 fix Makefile and README.md for 2006/sykes2 2023-03-23 18:43:42 -07:00
Landon Curt Noll 72d6d0954d fix Makefile and README.md for 2006/sykes1 2023-03-23 18:39:45 -07:00
Landon Curt Noll 8df52c7509 fix Makefile and README.md for 2006/stewart 2023-03-23 18:25:16 -07:00
Landon Curt Noll 2adb9d5a93 fix Makefile and README.md for 2006/sloan
BUG: Status: main() function args not allowed - please help us fix
2023-03-23 18:21:47 -07:00
Landon Curt Noll cfe5e9c2c5 fix Makefile and README.md for 2006/night 2023-03-23 14:53:54 -07:00
Cody Boone Ferguson 8f31ccbd61 Typo fixes in some README.md files in 2006
Also added a glob to borsanyi/.gitignore: a glob that the try section
generates (example.gif).
2023-03-23 06:42:31 -07:00
Cody Boone Ferguson dbe022a359 2006/monge requires x86/x86_64 CPUs
The segfault I noted in c40a061a2d appears
to be because it requires x86/x86_64 architecture and I tested it on the
arm64 (MacBook Pro M1). I will still in time test it under linux to make
sure it works but that's for another time.

With this in mind the entry should at least theoretically work at least
if you have an x86/x86_64 CPU.
2023-03-23 06:21:00 -07:00
Cody Boone Ferguson c40a061a2d Get 2006/monge to link
The problem was that SDL2 removed two functions that are used in this
code. Since SDL1 is still available and since changing it to SDL2 is
more complicated than it is worth I've decided to keep it as SDL1,
changing sdl2-config to sdl-config. Nevertheless it actually segfaults
or it does at least in macOS. I have not tested it in linux but I will
in time. At this point I will try debugging it but at least now it will
link.

Typo fixes in README.md and update the reference to SDL2 to be SDL1. I
noted that currently it does not work at least under macOS. I've not yet
put it in the bugs.md file but will in time if I don't get it to work
(again once I test it under linux).
2023-03-23 06:06:41 -07:00
Landon Curt Noll e23d8e6e68 fix Makefile and README.md for 2006/monge
NOTE: While this code compiled, it did not link.

This code may have been written for sdl-config instread of
sdl2-config.
2023-03-22 17:44:26 -07:00
Landon Curt Noll c684f56279 fix Makefile and README.md for 2006/meyer 2023-03-22 17:40:28 -07:00
Landon Curt Noll 0b57f4d7fb fix Makefile and README.md for 2006/hamre 2023-03-22 17:37:26 -07:00
Landon Curt Noll 0e0be24748 fix Makefile and README.md for 2006/grothe 2023-03-22 17:34:22 -07:00
Landon Curt Noll 5ff2e8d215 fix Makefile and README.md for 2006/borsanyi 2023-03-22 17:29:06 -07:00
Landon Curt Noll cb5c2c8648 fix Makefile and README.md for 2006/birken 2023-03-22 16:55:49 -07:00
Landon Curt Noll 277c0f78d1 remove orig code from 2006/monge 2023-03-08 00:08:14 -08:00
Landon Curt Noll f615bba21e undo intermediate Makefile changes of 1996 to 2020
The commit 00ae59cd47 had a
mistake that introduces changes to Makefiles for 1996 thru 2020
that should not have been included.

This change reverses these intermediate changes until
the given year's Makefiles are ready.
2023-02-26 23:31:00 -08:00
Landon Curt Noll 00ae59cd47 fix 1995 Makefile comment line 2023-02-26 21:52:15 -08:00
Landon Curt Noll ab9b77b1c9 reverse bad commit 223b1a3f94
The commit 223b1a3f94 was a mistake,
so we reverse both commit 5f7cf0b60d
and commit 223b1a3f94 for now.
2023-02-26 17:21:30 -08:00
Landon Curt Noll 223b1a3f94 update 1992 Makefile variable set 2023-02-26 17:05:50 -08:00