Skip to content

Latest commit

 

History

History

Minesweeper

Minesweeper

This example shows a quick implementation of the famous Minesweeper game using the Katana framework. As you know the objective of the game is to clear a rectangular board containing hidden mines without detonating any of them, with help from clues about the number of neighboring mines in each field.

Please note that this an incomplete implementation, potential improvements are:

  • Long press to flag a cell you think contains a mine.
  • Disclose all the mines on gameover/victory
  • Show the number of remaining mines

Feel free to open a pull request for improvements! We'd love that.

What is showcased here:

  • Most of the basics of Katana
  • Complex UI updates
  • MinesweeperSyncAction that abstracts all the SyncActions of the app
  • Complex State logic