Thoughtworks interview question

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