sequencePlayer-class: Sequence player for c4

Description Fields Examples

Description

Give the bot the sequence and it will make the moves. Cyclic repetition means it never runs out of ideas.

Fields

name

character. Name of the bot

moveSeq

numeric. The sequence of moves. Should be column indexes

moveCnt

numeric. Private. Where you are in the sequence

Examples

1
sequencePlayer$new(moveSeq = 1:6, name="SequenceBot1")

sellorm/c4game documentation built on July 7, 2019, 1:50 a.m.