fixed bug causing ties to be logged as wins for first player