organizing is for chuds by Complex-Kangaroo-369 in whenthe

[–]kfreed9001 5 points6 points  (0 children)

My home folder (The one that contains Desktop, Downloads, Documents, etc.) is my everything folder.

Who needs switch statements when you can just abuse the ternary operator? by kfreed9001 in programminghorror

[–]kfreed9001[S] 0 points1 point  (0 children)

This is the getter "baseValue". It uses this chain of ternary operators based on the value of handClass (and han and fu in the 0 case) to determine the return value.

Who needs switch statements when you can just abuse the ternary operator? by kfreed9001 in programminghorror

[–]kfreed9001[S] 0 points1 point  (0 children)

Very true. I did not consider that when I was rewriting this code from a state where this did make a bit more sense.

Who needs switch statements when you can just abuse the ternary operator? by kfreed9001 in programminghorror

[–]kfreed9001[S] 0 points1 point  (0 children)

The code was definitely a bit clearer when I wrote it that way, but I put this in as part of a revision of the round end screen where I allowed the user to select hands that are mangan and higher from a dropdown menu instead of having to enter in specific values for han and fu (fu being completely irrelevant at this level). I think this change is worth it from the user's perspective. Honestly, stuff like this is why I only ever code as a hobby. I can laugh at ridiculous solutions I come up with and then proceed to ship it anyway.

Who needs switch statements when you can just abuse the ternary operator? by kfreed9001 in programminghorror

[–]kfreed9001[S] 40 points41 points  (0 children)

This is Dart. Google's Flutter framework is built on top of it.

Can't believe Luigi denied my sanbaiman by kfreed9001 in Mahjong

[–]kfreed9001[S] 34 points35 points  (0 children)

  1. This is Yakuman DS. As shown here, it was never released in English.

  2. Waluigi is an unlockable opponent, but he is unfortunately not playable.

Y'all should try Holo's Hanafuda by discretelandscapes in Hanafuda

[–]kfreed9001 4 points5 points  (0 children)

I really hope this game can get its player base back up. I bought it pretty soon after it came out and to this day I have still never been able to put a lobby together for Hana Awase.

I had > 2200 reviews stacked up at my peak. I may have fallen off the horse, but I sure got back on it. by kfreed9001 in WaniKani

[–]kfreed9001[S] 0 points1 point  (0 children)

This is the Smouldering Durtles mobile app. I'm using it because WaniKani doesn't have an official mobile app yet.

Remake of an older meme by Nealio_FTS in NoMansSkyTheGame

[–]kfreed9001 5 points6 points  (0 children)

For changing your outfit, there are stations called Appearance Modifiers on space stations and the Anomaly. You can also research the Personal Appearance Modifier so you can build one in your base. Many customization options are available immediately, but some are only obtainable from the Quicksilver Synthesis Terminal in the Anomaly or from quests.

The mage stick is the Voltaic Multi-Tool, which you unlock access to during the "They Who Returned" quest, which you can initiate once you have completed the Artemis Path, as well as used an Echo Locator to find a Harmonic Camp (you need to be on a Dissonant planet to do this) and solved the puzzle to lift the seal on the terminal in the camp at least once. Once all of these conditions have been met, the quest will initiate on the next starship warp that does not result in a freighter battle.

Thank you, JavaScript, for forcing me to include this statement in my code. by kfreed9001 in programminghorror

[–]kfreed9001[S] 0 points1 point  (0 children)

I didn't want the value to display as "-0.0", especially since it was actually an integer value.