game determines winner by row