Description Usage Arguments Examples
This function is an implementation of Tetris based on X window system.
1 | play_tetris(nhint = 5, speed = 1, color, bg = "white", ...)
|
nhint |
the number of hint squares on the right. |
speed |
the level of speed at which block is falling. |
color |
colors of seven tetrominoes. Default color set is generated by |
bg |
the color to be used for the background of the device region. |
... |
optional arguments to |
1 2 3 4 | ## Not run:
play_tetris()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.