Share YOUR worst code

In here, you can share some bad code you’ve made! Here’s an example from a project I’m working on right now!

Context

This is an operating system detector that I’m using to personalize cursors. e.g. If using Windows 10, the style of the custom cursors will be Windows 10. If Mac, use Mac style, if ChromeOS, use Chromium cursors, etc.

This code even looks for Windows 8.1/7/Vista/XP and will display something like “hey, your system may not be powerful enough to load this Snap! project, so here’s a heads up”, and will also do so for mobile, except it recommends using mouse and keyboard.

i dont think the 3ds is capable of running snap anyways

Well… in case someone’s is… :wink:

And I’ll probably search for “New Nintendo 3DS, like iPhone” just to occupy myself

i actually once tried to make a versino of snap for 3ds, but i didnt get very far… maybe i should try again sometime

also does scratch code count?

if yes

image

Sure. I’ll count it.

does makecode count
(SORRY THE REASON THIS HAS LIKE 2 EDITS IS CUZ IM TRYING TO FIGURE OUT HOW TO USE THIS)

if so-

this totally doesn’t look cursed:

Does desmos geometry count?

if it is:
link Lambda | Desmos

zoomed in:

painted version:

What’s wrong with having a 3ds? :face_with_raised_eyebrow:

There’s no need to put booleans directly inside boolean slots!!

wowweth.
i didnt know the desmos calculator is capable of that

Sorry I actually did an awesome chrome canvas for the painted version

oh, i got some! do these count?

https://www.desmos.com/geometry/yfcvdylfgg nevermind, i guess i somehow deleted the ticker function that made this graph work.. please ignore this one :)

haha

aha not my code

Okay. Snap! code STRICTLY from now on. We’re veering off into other places. Need I remind you of the Dash spider?

actually I genuinely don’t know what that is
I haven’t been here for long enough :woman_shrugging:
(edit) why did I find this upon searching it up

okay what is this :folded_hands:

I still have my 3ds because I love my Tomodachi Life Island… Me and Coach Z had two babies on there btw haha…also I forgot where my worst code was… I’ll probably get it back soon enough

EEE Tomodachi life