I've just added the Mines (clone of Minesweeper game) Tutorial: Mines
The main url with all tutorials is here: Lark's Tongue Guide to Python
It's a neat classic game and is quite fun to play, even though the interface is primitive.
The game contains a nice example of floodfill algorithm which is used to mark empty tiles (tiles with no neighbouring mines -- with a twist: tiles that border empty tiles also have to be revealed, but their neighbours stay hidden.
No comments:
Post a Comment