AImove: Move of AI

Description Usage Arguments Value

Description

Help-Function for an AI

Usage

1
AImove(field, AIstrength, AIplayernumber)

Arguments

field

matrix: the playing field

AIstrength

integer: strength of the AI - number of moves the AI will simulate?

AIplayernumber

integer: 0 or 1: should the AI be player 1 or player 2?

Value

the selected row


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