Is there any better way to do this?

so I was trying to make a number generator which will display 9 different numbers (for a sudoku)
but the code is already to big and it says Stack overflow so I dont know any better way to do this.

1 Like

How about this!

I wasn’t sure what the variable names in your project meant, but this program generates a random order of the 9 digits

3 Likes

Thanks!

It just meant Row Line Cube

You should replace the “bouncing A” icon in the splash screen with the circular arrows (reset) icon. This is a fault also with the “skill maps” learning tool. A student is told by the Arcade system to click on A , told this by convention , and when doing so, the screen goes blank. Just a suggestion for better “design thinking”.

Litle bit shorter
https://makecode.com/_ixf9JYcgP41h