Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits) (+1)

Someone, please rate my monstrosity: ( Medium/Carpet )

I am pretty sure this is the worst possible solution. It's not even infinitely extensible, but at least it has 'nice' aesthetics.

{"displayName":"Carpet","levelName":"FractalCarpet","solution":{"objectSize":7,"objectData":[8,11,0,6,0,0,0,11,11,0,3,0,2,0,1,10,0,11,0,1,1,1,8,0,2,0,0,0,1,6,0,5,0,3,-1,10,11,0,2,0,1,1,6,11,0,2,0,3,-1,0,11,0,2,0,3,-1,11,7,0,3,0,1,0,11,1,0,3,0,1,0,3,11,0,1,0,3,0,11,2,0,1,0,0,0,1,5,0,3,0,1,0,2,5,0,5,0,0,-2,10,1,0,2,0,3,-2,10,3,0,2,0,3,4,10,0,0,1,0,3,-2,9,0,0,3,0,2,0,8,1,0,3,0,1,0,8,2,0,1,0,0,-2,1,11,0,3,0,3,-1,9,11,0,2,0,0,0,11,9,0,2,0,1,0,3,5,0,3,0,0,-4,5,5,0,3,0,0,-4,4,5,0,3,0,0,-4,4,6,0,2,0,2,0,4,8,0,5,0,0,-5,3,4,0,1,0,0,-5,4,4,0,1,0,0,-5,5,4,0,1,0,0,-5,3,3,0,4,0,0,-5,4,3,0,4,0,0,-4,3,6,0,2,0,1,-2,5,3,0,5,0,0,-6,6,6,0,1,0,1,0,8,10,0,3,0,2,0,8,9,0,3,0,2,0,4,9,0,1,0,2,-6,8,8,0,2,0,2,0,7,6,0,3,0,1,-4,4,10,0,3,0,1,0,5,10,0,3,0,0,0,6,9,0,3,0,2,0,7,9,0,3,0,0,0,7,10,0,3,0,0,0,6,10,0,3,0,1,0,5,9,0,3,0,1,0,5,8,0,3,0,0,0,6,8,0,3,0,3,0,7,8,0,3,0,3,0,5,7,0,3,0,1,0,6,7,0,5,0,0,-8,11,5,0,2,0,3,-8,7,5,0,1,0,0,0,8,5,0,2,0,3,0,9,5,0,3,0,1,0,7,4,0,5,0,2,-1,7,7,0,1,0,1,0,9,7,0,1,0,1,0,10,7,0,5,0,1,-10,6,3,0,2,0,0,0,1,2,0,1,0,2,0,11,6,0,2,0,2,0,11,8,0,3,0,1,0,0,1,0,2,0,3,0,4,1,0,2,0,3,0,3,1,0,2,0,1,-19,1,1,0,5,0,0,8,11,10,0,2,0,0,8,1,3,0,3,0,1,0,3,2,0,5,0,1,-17,2,2,0,3,0,1,0,2,3,0,3,0,0,0,5,1,0,4,0,1,-19,2,1,0,2,0,0,-17,5,2,0,2,0,1,0,7,1,0,1,0,0,0,7,0,0,3,0,0,0,7,11,0,3,0,1,0,5,0,0,1,0,0,-5,5,11,0,3,0,3,0,10,5,0,2,0,0,-5,4,11,0,9,0,0,-5],"solutionName":"New Solution","levelVersion":0,"completed":true,"cycles":95,"cost":84}}

And what does an actually good solution look like?

(2 edits) (+1)

8/10.  At this point you should try to use every square.

I struggled with that one, the 3:1 scale is weird. Mine is slightly less monstrous but still nowhere near hitting the best cycles or cost.

{"levelName":"FractalCarpet","solution":{"objectSize":7,"objectData":[1,7,0,6,0,1,0,0,7,0,1,0,3,-3,11,2,0,3,0,1,0,11,6,0,3,0,0,0,11,10,0,3,0,2,0,11,11,0,3,0,1,0,11,5,0,3,0,1,0,2,7,0,3,0,3,0,5,9,0,3,0,3,2,3,9,0,1,0,2,0,2,6,0,2,0,2,0,5,11,0,3,0,0,2,5,10,0,11,0,0,-3,3,11,0,3,0,1,2,2,11,0,3,0,1,0,11,7,0,2,0,1,-3,9,7,0,5,0,0,-4,4,9,0,1,0,1,2,2,4,0,5,0,0,2,2,8,0,3,0,1,0,4,11,0,3,0,1,2,2,10,0,3,0,2,0,3,10,0,3,0,0,2,3,8,0,4,0,0,-3,0,1,0,1,0,3,0,7,7,0,2,0,3,-4,1,2,0,1,0,0,0,5,7,0,9,0,0,0,3,7,0,2,0,3,0,1,5,0,2,0,0,-4,11,8,0,3,0,3,0,9,0,0,2,0,3,0,10,6,0,2,0,0,0,5,0,0,2,0,3,0,9,4,0,2,0,3,0,1,0,0,2,0,3,0,7,3,0,1,0,0,0,5,2,0,2,0,3,0,2,2,0,1,0,3,0,0,2,0,1,0,3,0,10,2,0,2,0,0,0,8,0,0,2,0,3,0,4,0,0,2,0,3,0,0,0,0,2,0,3,0],"solutionName":"New Solution","levelVersion":0,"completed":true,"cycles":54,"cost":44}}

I only just noticed the exhaust/trash ends up being Sierpinski triangles.

(1 edit) (+1)

I guess my insistence on trying to not do it serially (process one block at a time) actually made it worse.

Deleted 1 year ago

I got it for slightly cheaper but with almost twice as many cycles. I also use a technic I call "storage". it's similar to the easiest way to do Sort but in reverse. 

{"displayName":"Carpet","levelName":"FractalCarpet","solution":{"objectSize":7,"objectData":[2,5,0,6,0,0,0,0,5,0,2,0,3,0,3,5,0,1,0,1,-1,4,6,0,5,0,1,-1,11,9,0,3,0,1,0,1,5,0,3,0,1,0,11,0,0,3,0,1,0,11,6,0,1,0,2,0,11,7,0,3,0,1,0,11,1,0,3,0,0,0,10,0,0,2,0,3,0,6,0,0,2,0,3,0,2,0,0,2,0,3,0,11,11,0,2,0,3,1,1,11,0,5,0,3,2,2,11,0,1,0,1,2,3,11,0,3,0,1,2,4,11,0,3,0,1,2,5,11,0,3,0,0,2,5,10,0,3,0,0,2,5,9,0,3,0,3,2,4,9,0,3,0,3,2,3,9,0,3,0,2,2,3,10,0,3,0,1,2,4,10,0,5,0,1,1,4,8,0,2,0,0,0,9,11,0,9,0,0,0,4,5,0,5,0,0,3,5,6,0,1,0,1,3,9,9,0,2,0,0,0,7,7,0,2,0,3,0,3,7,0,2,0,3,0,1,6,0,1,0,0,0,5,5,0,1,0,1,3,6,4,0,2,0,0,0,4,1,0,2,0,3,0,6,3,0,2,0,0,0,4,2,0,2,0,3,0],"solutionName":"New Solution","levelVersion":0,"completed":true,"cycles":92,"cost":38}}

even better: {"displayName":"Carpet","levelName":"FractalCarpet","solution":{"objectSize":7,"objectData":[11,8,0,6,0,0,0,0,1,0,2,0,1,0,5,8,0,2,0,3,0,7,8,0,9,0,0,0,9,8,0,2,0,3,0,1,8,0,3,0,1,0,0,8,0,2,0,3,0,11,10,0,3,0,1,0,11,6,0,3,0,2,0,11,2,0,3,0,0,0,11,1,0,3,0,1,0,11,7,0,3,0,1,0,2,11,0,1,0,1,1,8,11,0,1,0,3,0,11,11,0,2,0,3,2,1,11,0,5,0,1,1,3,11,0,3,0,1,1,4,11,0,3,0,1,1,5,11,0,3,0,0,1,5,10,0,3,0,0,1,5,9,0,3,0,3,1,4,9,0,3,0,3,1,3,9,0,3,0,2,1,7,10,0,1,0,0,0,7,9,0,3,0,0,0,4,10,0,5,0,0,2,1,3,0,2,0,0,0,10,0,0,2,0,3,0,6,0,0,2,0,3,0,2,0,0,2,0,3,0,3,8,0,3,0,3,0,1,6,0,2,0,0,-1,9,11,0,5,0,0,-1,1,4,0,3,0,2,0,3,10,0,3,0,1,1,4,8,0,2,0,0,0,4,4,0,2,0,0,0,2,2,0,2,0,3,0],"solutionName":"New Solution","levelVersion":0,"completed":true,"cycles":67,"cost":38}}