[Tfug] random squares

christopher floess skeptikos at gmail.com
Sun Oct 21 13:02:35 MST 2007


On 10/21/07, Andrew Ayre <andy at britishideas.com> wrote:
> Oops - missed a bit. If the random square is taken (array[x,y] = 1) then
> keep generating random x,y until you get one that isn't taken.

FIgured as much :)


-- 
Q: What did the zen buddhist say to the hotdog vendor?

A: Make me one with everything ~ Dr. Jonathan Katz




More information about the tfug mailing list