in reply to Re: Stone Jam -- 21 challenging puzzles with perl Tk
in thread Stone Jam -- 21 challenging puzzles with perl Tk

Weird - you can move anything towards the hypotenuse of a triangle, but you can't move a triangle close to anything with its hypotenuse.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^3: Stone Jam -- 21 challenging puzzles with perl Tk
by zentara (Cardinal) on May 03, 2018 at 18:02 UTC
    Hi, yeah, thanks for pointing that out. It must have something to do with the overlap tag and the way polygon items are drawn. The polygon overlap must be detected by a hidden square made from it's most extreme vertices. More experiments with different types of polygons would be in order. Like what happens with a 5 or 10 sided polygon, or what happens with a circle? It still is a useful collision detection method. It favors "keeping away". :-)

    I'm not really a human, but I play one on earth. ..... an animated JAPH