Description Usage Arguments Value Examples
Returns a vector of colors that match the colors of the Tetromino pieces in a range of different Tetris editions. See https://en.wikipedia.org/wiki/Tetris#Tetromino_colors for more information of names and color. Name of color palettes are "Vadim Gerasimov", "Microsoft", "Sega", "The New Tetris", "The Tetris Company", "Atari", "The Soviet Mind Game", "Tetris DX", "Super Tetris 3", "Tetris Plus" and "The Next Tetris". Defaults to "Vadim Gerasimov". Will pad with white if after 7 colors are used.
1 | tetris_color(palette = "Vadim Gerasimov", n = 7)
|
palette |
Character. Name of color scale. Pick between "Vadim Gerasimov", "Microsoft", "Sega", "The New Tetris", "The Tetris Company", "Atari", "The Soviet Mind Game", "Tetris DX", "Super Tetris 3", "Tetris Plus" and "The Next Tetris". Defaults to "Vadim Gerasimov". |
n |
Integer. Number of colors. Maximum of 7 available. Defaults to 7. |
Numerical.
1 2 | tetris_color(7)
tetris_color("Microsoft", n = 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.