NewField: Generate a new field

Description Usage Arguments Value

Description

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

Usage

1
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.


FourScores documentation built on May 2, 2019, 4:02 p.m.