I am trying to create a 2 dimensional 1 player versions of the board games connect4, and battleships. Has anyone got any ideas on how the games Ai will be developed, to allow a player to play against the computer.

Your help will be most appreciated.