Wolfram Research

Function Repository Resource:

PolyominoesGame

Source Notebook

Play a Polyominoes (Tetris-like) game

Contributed by: Xiangdong Wen

ResourceFunction["PolyominoesGame"][n]

starts a game of tetris with speed n.

Details and Options

The following keys can be used to interact with the game:

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

Examples

Basic Examples

Play a game:

In[1]:=
ResourceFunction["PolyominoesGame"][]
Out[1]=

Resource History

Related Resources

License Information