Make winning depend on uncovered tiles rather than flags