isGoalState: check if a state satisfy goal conditions

Description Usage Arguments Value

View source: R/functions_state.R

Description

Internal. Check if a state satisfy goal conditions.

Usage

1
isGoalState(state, goalcondition)

Arguments

state

an object of 'slidepzl_state' class.

goalcondition

an object of 'slidepzl_state' class.

Value

logical. Does the state include all pieces in goal conditions?


shigono/rSlidePzl documentation built on Jan. 21, 2021, 8:01 a.m.