addPieceToBg | Add the current piece to the background (because of a... |
adjacentLocations | Find adjacent locations to a given block |
clearLines | Check if any lines need to be cleared, and update objects... |
detectCollision | Detects whether a proposed change in the active piece will... |
findOpenLocations | When generating a new piece, find candidate block locations |
makeBg | Create a blank background list |
makeShape | Make a randomly generated piece, sampled from the current... |
plotBg | Plot the background list object |
plotShape | Plot the current shape list object |
rotateClockwise | Rotate a piece clockwise |
rotateCounter | Rotate a piece counterclockwise |
runPoissontris | Run the Cardiovascular MFR shiny application |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.