NewField {FourScores}R Documentation

Generate a new field

Description

help-function which "throws" the stone into the field and returns the new field

Usage

NewField(field, column, player)

Arguments

field

matrix: the playing field.

column

integer: the column chosen by the current player.

player

integer: the current player.

Value

The updated field matrix.


[Package FourScores version 1.5.1 Index]