Magic Square and Tic Tac Toe

This is a discussion on Magic Square and Tic Tac Toe within the Game Programming forums, part of the General Programming Boards category; I saw another person was implementing a tic tac toe game and wondered if creating a 2x array in the ...

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    450

    Magic Square and Tic Tac Toe

    I saw another person was implementing a tic tac toe game and wondered if creating a 2x array in the form of a magic square would help for implementing AI in such a problem.

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    What is a "magic square"? Anyway, I doubt that it would help. It's a job for an expert system, really (a bunch of if statements)
    Away.

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Originally posted by Salem
    How would knowing how to create a magic square help you play tic-tac-toe?
    That was the OPs question, in a round-about kinda way.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Tic Tac Toe comp move
    By swgh in forum C++ Programming
    Replies: 5
    Last Post: 01-07-2009, 08:36 AM
  2. Tic Tac Toe Comp Move help
    By swgh in forum C++ Programming
    Replies: 5
    Last Post: 09-24-2008, 11:05 AM
  3. Tic Tac Toe Neural Network
    By glo in forum General AI Programming
    Replies: 4
    Last Post: 06-15-2008, 03:39 PM
  4. making tic tac toe, need some help
    By Frantic- in forum C++ Programming
    Replies: 8
    Last Post: 06-16-2005, 09:06 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21