4 Commits
Author SHA1 Message Date
Cody Boone Ferguson 2a27f85006 Remove 2012/kang alt code
This code is based on a 'fix' that causes another issue, and could
potentially be 'wrong' to have. It is better, I think, to pose the
challenge to the viewer to see if they can solve the problem themselves,
and if so if there are any issues with such a fix.
2024-10-14 08:47:10 -07:00
Cody Boone Ferguson 69ee0b8de6 Improve scripts (and add one) of 2012/kang
The try.alt.sh uses the alt code. This helps further show how a single
letter can change so much and thus one can really appreciate the
subtlety of the entry even more. The other scripts were improved.
2024-01-26 09:47:01 -08:00
Cody Boone Ferguson 07c1705905 Improve 2012/kang scripts
Get CC, defaulting to cc.
2023-11-14 04:20:27 -08:00
Cody Boone Ferguson 4d71e0e65b Make current 2012/kang properly alt code
I was on the fence of whether it's a feature or bug that the program
deciphers 'fier' as '4' instead of proper 'vier' but to help with
preventing confusion to those who know German I ended up changing it.
This was thought okay but after more thought and also playing with it a
bit I have made that fix the alt version instead. It so happens that
(and I wondered about this at the time but did not have examples then)
by changing it to 'vier' it caused other number words to be wrong. Thus
the version that I'll call vier (even though it's zwei or if
alternatively if zero based eins :-) ) is now the alt version.

Added en.sh and de.sh scripts to count from 0 through 13 (reason below),
showing the word and number and then the result. One can choose whether
to use the alt version or not by passing in KANG=... to the script like:

    KANG=kang.alt ./de.sh

would run the vier version of kang (kang.alt).

As for why 13 it's to demonstrate two of the German umlauts, ö and ü (in
German you can add an 'e' or 'E' if you don't have the umlaut so it does
both to demonstrate how the program deals with it).

Makefile updated so one can run make alt.

.gitignore updated.

Now the program is how it was and how it should be and yet at the same
time one play with the vier versus fier.
2023-10-22 10:29:13 -07:00