GetIndexList: Get index of colored square in a tetromino

Description Usage Arguments Details Author(s)

View source: R/TableID.R

Description

Get (x,y) for squares in a tetromino which should be colored.

Usage

1
GetIndexList(tetromino)

Arguments

tetromino

the matrix indicate the location of a tetromino

Details

This function will write a 3x3 matrix as a specific shape tetromino.

Author(s)

Tingting & Chang


TingtHou/Tetris documentation built on Dec. 11, 2019, 5:29 a.m.