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

FieldWinCheck

check for a winner


Description

help-function that checks whether (at least) one of the four possibilities of winning is given

Usage

FieldWinCheck(field, player)

Arguments

field

matrix: the playing field.

player

integer: the current player.

Value

a boolean whether the player has won the match or not


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.