improved the ai player a lot