implemented win logic, doesn't stop after win or determine cat games