Since it needs to be compiled to JavaScript in order to be used, I kind of consider it a different language. Yes, it’s a strict superset of JavaScript, but that makes it different.
- 0 Posts
- 9 Comments
It’s much better to make your own function that uses bitwise operations to do addition.
function add(a, b) { while (b !== 0) { // Calculate carry let carry = a & b; // Sum without carry a = a ^ b; // Shift carry to the left b = carry << 1; } return a; }
(For certain definitions of better.)
Quibblekrust@thelemmy.clubto Steam Deck@sopuli.xyz•[Discussion] What are you playing on your Deck? - May 2025English2·24 days agoNova Drift, and then some more Nova Drift. Followed by a long session of Nova Drift. I think I need help.
Quibblekrust@thelemmy.clubto Games@lemmy.world•$80 for Borderlands 4 too costly? Randy Pitchford says, "If you're a real fan, you'll find a way to make it happen"English2·26 days agoYet I played it so much I can hear it in my head right now.
Quibblekrust@thelemmy.clubto Games@lemmy.world•$80 for Borderlands 4 too costly? Randy Pitchford says, "If you're a real fan, you'll find a way to make it happen"English66·26 days agoIn today’s dollars, my local video game store in 1991 was selling Wizardry for the NES for $141.
Fuck, the average AAA Atari 2600 game was $99 in today’s dollars. Games like Pitfall and Pac-Man.
Just some perspective. I’m going to go yell at a cloud or something, now.
Quibblekrust@thelemmy.clubto Patient Gamers@sh.itjust.works•The Witcher III is currently on sale for 3€ until 25th MayEnglish3·28 days agoWitcher 1 was weird, but I finished it just a few years ago. The combat is half automatic. Like, if you get a dodge skill it just means that when an enemy attacks, “Dodge” might appear above your head more often as enemies attack you. You dont actually dodge anything.
Geralt just swings his sword like crazy (automatically) and numbers appear above the enemies to indicate damage. It’s a constant stream of numbers. And you press buttons once in a while to cast spells, change combat style, or do special moves. At least I think you manually trigger special moves. It’s been a while.
If you watch this video on YouTube, you’ll see what I mean. None of the sword slashes involve pressing a button. They just happen.
I thought it was worth playing. Janky, yes, but worth playing. I played 1 and 2 before playing 3.
Quibblekrust@thelemmy.clubto Games@lemmy.world•Nintendo Updates Its User Agreement To Crack Down On EmulationEnglish2·1 month agoMK with its new open world
Now I want open world Mortal Kombat.
Quibblekrust@thelemmy.clubto Games@lemmy.world•Nintendo Updates Its User Agreement To Crack Down On EmulationEnglish1·1 month agoJust get a proper emulation handheld. It won’t have Joycon’s that will drift in 12 months. The Switch doesn’t do anything special versus an emulation handheld. There are a million to choose from at every price point.
Then make a community for it.