()
| 128 | |
| 129 | |
| 130 | def main(): |
| 131 | root = tk.Tk() |
| 132 | root.title("Tile Matching Game") |
| 133 | |
| 134 | rows, columns = 4, 4 |
| 135 | |
| 136 | game = TileMatchingGame(root, rows, columns) |
| 137 | |
| 138 | # Reset Button |
| 139 | reset_button = tk.Button(root, text="Reset Game", command=game.reset_game) |
| 140 | reset_button.grid(row=rows + 3, columnspan=columns) |
| 141 | |
| 142 | # Exit Button |
| 143 | exit_button = tk.Button(root, text="Exit", command=root.destroy) |
| 144 | exit_button.grid(row=rows + 4, columnspan=columns) |
| 145 | |
| 146 | root.mainloop() |
| 147 | |
| 148 | |
| 149 | if __name__ == "__main__": |
no test coverage detected