Paul Lutus schrieb: > I'm making an assumption here, that you want to find a winning pattern. > snipped the code > Output: found winning row for player "O" That's an elegant solution without "black magic". -- Gru, Johannes http://www.hehejo.de http://gallery.hehejo.de/jo