eol; trying to find a clever way to know if a game is won