zDemineur is an adaptation of a minesweeper in console. The exercise is from there : http://fr.openclassrooms.com/forum/sujet/zdemineur-99495