added corner logic so AI is really unbeatable