Yes it is simple C :)
The mineweeper is not complex internally, the only important things are 3 tables with revealed fields, mine fields and flag fields. Rest is just loopin through the revealed ones, if number is equal to surrounding unrevealed mines + flagged then flag surrounding fields, if flagged = number of the field then reveal fields, and thats basically it :)