Back to problems

Minesweeper Game Design

Object-Oriented Programming · Amazon · Medium

Requirements Build the core Minesweeper game with configurable row and column dimensions and a chosen number of mines. The engine must support flood-fill reveals, placing and removing flags, and detecting both victory and defeat. Explain how the design could support saving an unfinished game, maintaining a high-score table, and synchronizing play across multiple devices. Define these operations: Examples Flood-fill reveal Input: On a 4 × 5 board, reveal a cell with zero…

Checking your access…