Description Usage Arguments Value
View source: R/functions_state.R
Internal. Return all states which can be generated by moving a piece of a given state.
1 | makeNextStates(state, setting)
|
state |
an object of 'slidepzl_state' class. Original state. |
setting |
an object of 'slidepzl_setting' class. |
a named list of objects of 'slidepzl_state' class, giving all states which can be generated by moving a piece of the original state. Validity is guaranteed.
The name of elements give how they are generated. e.g. '11D' means a piece at (1,1) in the original state is moved down.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.