ScratchData LogoScratchData
Back to gtoal's profile

AMC #6: Qualio path generator

GTgtoal•Created February 5, 2017
AMC #6: Qualio path generator
24
8
261 views
View on Scratch

Instructions

This generates random paths of an appropriate length, then checks that there is a solution by solving it. THIS IS NOT AN ENTRY IN THE COMPETITION. This is for Putney Cat to use to judge entries (and contestants to use to check their solvers). Or maybe to make an actual game with?

Description

If a particular set of early choices is proving too expensive to enumerate a solution from, the code times out and starts again. It usually finds a solution quite quickly. Note: by setting elements of 'grid' initially to something like 2, it should be possible to block certain squares from being included in the path.

Project Details

Project ID143657513
CreatedFebruary 5, 2017
Last ModifiedFebruary 7, 2017
SharedFebruary 6, 2017
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root