Added win detecting to end game without a null pointer and set both games to a look ahead of 3 moves