I think that's the point the parody is making. A simple "piece" of code can have thousands of edge cases that a normal developer doesn't think about. That's the advantage of the UNIX-style "everything does one thing and does it well" philosophy that Node mirrors.
This is a great example of why it is important to use modules. If I were to try implementing this myself, I might have thought to check for the Chinese string "十三", but I doubt I would have known to check for the uppercase version of the Chinese string "拾叄".
More seriously, does anyone know what "uppercase" means in Chinese? Do they literally have two (seemingly unrelated) forms for each of their characters?
Uppercase is just a simple way to put it, but it's not exactly precise. Chinese has different numeral forms depending on the usage context. The more complex versions are also known as Financial.
Works fine for me (Firefox on Android and Windows)—I think your browser doesn't handle Unicode combining characters properly. (Chrome gets a little funky with them on Android, haven't used Windows Chrome in a while).
The reason is it's two codepoints but one "grapheme", and some software doesn't handle grapheme clusters well.
I think FizzBuzz is far more complex problem than this isThirteen. This FizzbuzzEE solution shows where Java truly shines: powerful dependency management, industry leading design patterns. My only wish is to add parallel streams, lambda and other latest Java 8 feature support.
Half the issues suggest the use of actual NPM modules, and I'm at a loss to tell which ones are jokes. For example: "Replace noop3 with noop4 (also keep an eye out for noop5)" https://github.com/jezen/is-thirteen/issues/151
I think it depends on the format, so cards have to handle the case of many players.
I think there are quite a number of many player formats actually.
Like, in one, some number of packs a cracked, and they are passed around in a circle, each person picking one card, until everyone has a deck, and then they play.
Then I looked at the unit tests. [1] Now my reaction is more like, "Your commitment to this bit is both admirable and slightly disturbing."
[1] https://github.com/jezen/is-thirteen/blob/master/test.js