ScratchData LogoScratchData
Back to mananamanma's profile

Scratch Codegolf - Sorting a Unique List remix

MAmananamanma•Created October 21, 2024
Scratch Codegolf - Sorting a Unique List remix
0
0
3 views
View on Scratch

Instructions

Remix this project with the following challenge/rules: CHALLENGE: - Sort a given list of unique numbers with the least number of blocks. - Your algorithm has to work with list lengths 2, 5, and 10 (any length is allowed for testing it though). RULES: - For this version of codegolf, a block is anything that can be pulled out of a script. See the example inside. - In this case, a list is sorted if each item value is equal to its index. - If you want to check if the list is sorted, you will have to include that in the scripts. - Custom blocks are allowed. - Recursion is allowed. - Extensions are not allowed. - Exploiting glitches is allowed (or, in this case, exploiting features in Scratch that would throw error messages in other languages). - Each value must be preserved and remain unique (as in, after any operation such as swapping or inserting, each value must be present once and only once in the list) within the Numbers list. If you have any questions, let me know.

Description

17

Project Details

Project ID1084725334
CreatedOctober 21, 2024
Last ModifiedOctober 21, 2024
SharedOctober 21, 2024
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root