Hello, I'm still working on my tic tac toe game. The placing in of crosses and naughts only if possible is working, but now I'm getting stuck on how to do the detection when someone won. I am looking at 2 dimensional arrays to store the coords of the placed crosses and circles, but I don't really know how to use them, and how to loop through them to check if f.e. 3 x-coordinates are the same for a cross, which would indicate the player with the crosses won. I also have an other questions, unrelated to above: How can you make like a pop up message that says "Cross won", and a button to restart? Thanks in advance for looking into this!