Added more logic for detection of draw games