Home Reference Source

References

summary
public

C Board

Board class, which stores the game board and all related methods

public

C Tile

A class for Tile, the element inside a board.

public

F boardGen()

Run when start/restart button is pressed, generates a game board if input conditions are met.

public

Run when length input and height field are changed, enables and disables the number of mines input field based on validity of length and height input field.

public

F leftClick(clicked: Object): null

Run when any tile in the game table is clicked, reveals the tile clicked on.

public

F rightClick(clicked: Object): null

Run when any tile in the game table is right-clicked, places or removes a flag on the tile clicked.