New games every week!
☀️- 08 - One Bug Down, Ten More Arrive Blog
8th May 2025
Oh, cool, now another game's refusing to run!

-=-=-

The game Give a Cow a Pickaxe is no longer functional, and I have no idea why.

I did another fairly significant amount of rewriting yesterday.
I switched on Use Strict for a bit, and used it to guide me to a few fixes, before ultimately turning it back off again.
Use Strict is the Javascript "Make everything more EVIL!" toggle, and it makes everything evil to the point where nothing would run well at all.
I went through the whole language, piece by piece, fixing up missing variable declarations and such. It was another hefty rewrite of some core functionality, and .. gosh, this past week or so has been a lot of that.

Thankfully I hadn't started that complete scan through all the commands again, because this would've meant yet another restart of the entire list!

So, why isn't Give a Cow a Pickaxe working?

*shrugs*
I'll have to scrub through the code to see if anything obvious sticks out.
I have a feeling it might be the "You no longer need to clear arrays out as much as you used to" optimisation that I did a few days ago, but I can't be 100% sure until I do a ton more testing.

So, things are still a little bit broken. Sorry about that.
I AM trying to get things working better, and in fact I think I've managed another 15% or so speed-ups, over the past few hours. .. Though whether those were an important 15% of code remains to be seen!

(I really should be coding a game, though!!)

Update



It was the Round command. For reasons I can't fathom, Round was converting numbers into strings.
*ugh*

Yeah, I need to go over all the commands again.
Aargh!!!

A.I. Corner


Lyrics : By me
Sound Imported : Fanatically Idiotic
> Reveal 🔎
: Download | Suno Link
Sung by Suno


"Cartoon Derek stands on the back of a giant computer bug, cyberspace, technology, electronic, cinematic" by DrawThings / Flux

> Reveal 🔎
Views 49, Upvotes 1  
Daily Blog , Jse , Optimising
New games every week!
Site credits : All of the above : Jayenkai
(c) Jayenkai 2023 and onwards, RSS feed 90

Blog - ☀️- 08 - One Bug Down, Ten More Arrive - AGameAWeek