makeMove

fun makeMove(row: Int, col: Int, value: Int)

Makes a move by updating the value of a cell at the specified row and column.

Parameters

row

The row index of the cell.

col

The column index of the cell.

value

The new value to be set in the cell.