Page 1 of 1

Hey Onion2k! found a bug in your wordsearch

Posted: Sat Jul 23, 2005 7:21 pm
by nielsene
http://ooer.com/wordsearch/foobar/index.php?x=56&y=126

the word "too" was part of found along a diag "toot", but only one direction "too" substring was accepted.

Nice work though; let me waste more time :)

Posted: Sun Jul 24, 2005 6:28 am
by onion2k
Yeah, I already knew about that bug. The code doesn't actually check the board to see if you've found the right word, it checks an array on word places that's generated when the board is created. I only wrote it as a quick hack to create one wordsearch a while ago, I'll probably never get around to fixing it.

I've been working on PHPhoto 0.3 this weekend though.. It's awesome. Adobe are going to cry when I release it*.

* Possibly not.