I've made simple minesweeper game in JavaScript (for school project).
Its 5x5 matrix based with 10 mines placed randomly in in matrix. I've used 5x5 table for graphical representation, and I've added in every cell onclick
function that checks if corresponding matrix cell is mine.If it isn't it colors the cell in yellow and writes how many neighboring cells are mines.
Now i need to make it if the cell is a mine all of the other cells become unclickable.
Any assistance will be appreciated.