+basic AI

will fall back to random move if AI generates invalid move