Thoughtworks Interview Question

Write a program for minefield game in any language with using oops concepts.