A comprehensive guide to creating the game Minesweeper.

Article by Richard Davey. Posted on 10th Feb 2016.   @phaser_


This is parts 1 and 2 of a tutorial based on creating the classic Windows game Minesweeper in Phaser. The tutorial is well written and detailed, broken up into the following steps:

  • Project setup
  • Creating the grid
  • Placing mines
  • Adding numbers
  • Making tiles clickable
  • Revealing empty tiles
  • Winning / losing the game
  • User interface

By the end of Part 2 you'll have a robust implementation of a Minesweeper board layout, that you can click around and reveal.

Read More