seperated moving and checking if the move chosen would be legal into two functions (so the AI can manipulate boards easier).
if the opening player is an AI, automatically have them make their opening move.