Function setPreview
setPreview(amount)
Set the number of preview pieces
Preview Pieces are the next pieces that will enter the game field. The setPreview() function configures the number of these preview pieces.
Parameters
- amount Number of preview pieces
Returns
nothing