Basic minesweeper clone written using AngularJS