Share YOUR worst code

yes!!! I love mii games in general but tomodachi life and Tomodachi collection are really beautiful

offtopic

I just started a new one on living the dream on switch 2!

anyway, I was wondering,
how do you make that get user agent :: sensing reporter block from

?


This script is from my Snapinator-converted Rubik’s Cube Scratch project that I somewhat refactored using Snap features right at the beginning of my time learning to use Snap. This was before the variadic if block was introduced, so I never refactored this scramble script.

More recently I’ve gone back to that Scratch project and drastically simplified the above script, thanks to my discovery that reporters can be dropped onto broadcast dropdowns on Scratch:


I still haven’t updated my Snap version, however, because I dropped the refactoring process midway through to work on other more interesting tasks.

I used this code to my blocks


And this code to her

And got her moving

gsn lab - tests result | 666 X 500 pixels

That’s not my real face, I am just testing around with sprites I got from Google images

Use [spoiler]text[/spoiler]

well

set (ex) to (random number (1) to (10))
set(ex2) to (random number (1) to (10))
set (answer1) to (ex  + ex2)

Fixed blocks of your post

Does your post mean these blocks?

You can learn how to use the [snapblocks] tag in the snapblocks documentation.

[snapblocks] of the fixed blocks

[snapblocks]
set [ex V] to (pick random (1) to (10))
set [ex2 V] to (pick random (1) to (10))
set [answer1 V] to ((ex) + (ex2) @<:>)
[/snapblocks]

I made a web service that returns the user-agent of the user that requests it: Tethrarxitet's web blocks
It also caches the user-agent with the Database library so only one web request can be made.

This is an actual guide How to write snapblocks and Writing Snapblocks | Snapblocks Documentation (the first one is for people who have github blocked)

navigator.userAgent has left the chat

that would need js though

woahs.
that would make :snap: very easy.

how?

I’m used to coding with Makecode Arcade so stuff like that probs make things easier on snap
and you can put a (pick random ()-() ) block into a variable


that’s what I see

what do you expect the code to do?

I don’t see a single thing in that image that is different from :snap:.

oh. : P