Tetris game with shiny app in R
devtools::install_github("https://github.com/TingtHou/Tetris.git")
launchGame()
Use "A"/"D" to move tetriminos to left/right
Use "S" to move down tetriminos
Use "W" rotate tetriminos
The figure will flash when the game runs a long time.
- Tetris
|- inst
|- shinyapp
|- ui.R
|- server.R
|- R
|- shiny.R
|- TableID.R
|- GameAction.R
|- TableAction.R
|- TetrominoAction.R
|- DESCRIPTION
|- ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.