6 Commits
Author SHA1 Message Date
Landon Curt Noll ed822ba74b improve shellcheck comments 2024-03-11 09:09:21 -07:00
Cody Boone Ferguson 77cf97c7c8 Improve 1991/westley/ttt.sh
Make it so that the warnings/errors (i.e. stderr) of the compilation (as
well as the echo saying it's going to compile) not show unless -e is
used. This is because the warnings kind of ruin the experience.

Updated README.md to explain this.
2023-04-12 04:03:32 -07:00
Cody Boone Ferguson 1c21b4d072 Fix crash in 1991/westley stopping it from working
The problem was that the read only char*z[] was being written to. This
caused a crash which prevented the delightful program from working. The
fix was to change it to 'char z[][100]'. But why not a smaller number
when the longest string is < 100? Because a smaller number caused
strange output and it was easier to do than find the right value: 100 is
that big and it works well so why bother finding the smallest value? No
other reason behind it.

Fixed the shell script too so that it actually works okay (related to
'.' not being in the path in modern systems).

Updated README.md: moved the ttt.sh related things to new try section
and gave an example run (a losing example, challenging users to cause a
draw or better yet win as well as asking them to test something about
the game).

Added a fun parody to the README.md too. Check it out!

Removed this entry from bugs.md.
2023-04-11 05:55:42 -07:00
Cody Boone Ferguson dbbdedd30b Fix in 1991/westley/ttt.sh
Don't assume '.' is in the path.

I note that at least under macOS this game does not work. I'll be
looking at the entries of this year at another time. I just need this
commit in to make some other changes unrelated.

The README.md was also updated - formatting fixes to turn it into a
markdown file proper.
2023-03-17 07:13:34 -07:00
Landon Curt Noll ebac0b0cdc fix 1991/westley Makefile, README.md, ttt.sh 2023-02-21 13:06:49 -08:00
Landon Curt Noll d2a42f42e8 Move 1988-2004 entries into subdirs
We we move 1988-2004 entries from all of a year's winning entries
in a single directory to each winner being in their own sub-directory
under the given year directory.
2022-09-18 23:37:49 -07:00