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

AImove

Move of AI


Description

Help-Function for an AI

Usage

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

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.