Returns the integer linear indices of every empty cell, or an empty integer
vector if the game is over or the board is full. Always type-stable
(integer, never NULL).
Examples
length(tsr_legal_moves(tsr_new_board()))
#> [1] 256
Returns the integer linear indices of every empty cell, or an empty integer
vector if the game is over or the board is full. Always type-stable
(integer, never NULL).
length(tsr_legal_moves(tsr_new_board()))
#> [1] 256