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

FieldCorrect

Is the field correct?


Description

help-function that checks whether the field is correct

Usage

FieldCorrect(column, field)

Arguments

column

integer: the column chosen by the current player

field

matrix: the playing field.

Value

a boolean (TRUE if the given column would be a valid move for the field given).


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.