From: Randy Kramer Date: 2005-10-16T21:24:04+09:00 Subject: Re: Tic-tac-toe checking On Sunday 16 October 2005 07:16 am, daz wrote: > CBlair1986 wrote: > > I'd like to be able to check for a X-in-a-row win on a Y-by-Y board. > > Interesting (short line wins). > I just realised, I didn't answer your question, after all. But I think (unless I'm missing something), you came pretty close: Expanding on your explanation, he doesn't have to check the entire row, column, and both diagonals, just those portions within X of the last move. Randy Kramer