Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Play a Polyominoes (Tetris-like) game
ResourceFunction["PolyominoesGame"][] starts a game of tetris with speed 5. | |
ResourceFunction["PolyominoesGame"][n] starts a game of tetris with speed n. |
move object left if possible | |
move object right if possible | |
turn object counter-clockwise if possible | |
turn object clockwise if possible | |
move object down quickly | |
start a new game |
Play a game:
In[1]:= |
Out[1]= |
This work is licensed under a Creative Commons Attribution 4.0 International License