There's a nice discussion of recursion in the minesweeper game at http://www.cs.ucf.edu/~reinhard/classes/cop3503/lectures/Recursion01.pdf. Perhaps it would be of help to you?