**Description** Handle the victory and defeat conditions. **Requirements** - [ ] **Loss Condition:** If a mine is revealed: - Freeze the timer. - Change Smiley to "Dead". - Reveal all other mines. - Mark any incorrect flags with an 'X'. - [ ] **Win Condition:** If (Total Cells - Mined Cells) == (Revealed Cells): - Freeze timer. - Change Smiley to "Sunglasses". - Auto-flag remaining covered cells (the mines).