Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Challenge: Ricochet Robots (updated)

by choroba (Cardinal)
on Feb 19, 2021 at 02:06 UTC ( [id://11128547]=note: print w/replies, xml ) Need Help??


in reply to Challenge: Ricochet Robots

I don't have the moves yet, but I found a solution in 16 moves (almost 5 minutes on my machine). The final position of the robots was
G: C8 B: M10 R: B8 Y: C9
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11128547]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-03-29 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found