Sean Paulson wrote:So im making a tic tac toe and trying to figure out different ways to check for winning moves,
Winston Gutkowski wrote:to check for a winning move, you only need to work out what it changed...
Stephan van Hulst wrote:It should be noted that that approach can only be used if the sequence is equal to the size of the board. If you can win with smaller sequences (say, a three-in-a-row on a 5x5 board) then it won't work.
Sean Paulson wrote:basically i would share it but i actually stepped in over my head on this one and had not learned enough returning variables and such basic stuff but i learned alot and am going to try again and clean it up then i will post it here.
Sean Paulson wrote:i do have some questions about that though. objects are variables or functions that are within other methods right