checkNextBlock_x: Check tetrominos moving right/left

Description Usage Arguments Details Author(s)

View source: R/TetrominoAction.R

Description

Check if the tetromino should move left or right

Usage

1
checkNextBlock_x(cubes, tables, direct)

Arguments

cubes

a matrix which contains the information where tetromino locates

tables

a matrix which contains the information of the current backgroup including previous tetrominos location

Details

This function will check if the tetromino can move right ot left.

Author(s)

Tingting & Chang


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