matchPattern: Checks if piece matches the pattern.

Description Usage Arguments Value See Also Examples

View source: R/pattern.R

Description

Checks if piece matches the pattern.

Usage

1
matchPattern(id, pattern)

Arguments

id

An integer, a number of a piece.

pattern

A vector c(U, R, D, L) - pattern of a piece.

Value

Logical.

See Also

createPattern.

Examples

1

gchlapinski/EternityII documentation built on Jan. 21, 2018, 12:53 a.m.