Uber interview question

Design the OOP code for minesweeper