Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

NewField

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.


FourScores

A Game for Human vs. Human or Human vs. AI

v1.5.1
GPL-3
Authors
Matthias Speidel [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.