Learn R Programming

FourScores (version 1.5.1)

getColors: A function

Description

A function to get some colors

Usage

getColors(PlayerNames, PlayerColors, MACuser)

Arguments

PlayerNames

array of characters: the players' names.

PlayerColors

vector of characters: the players' colors.

MACuser

boolean: on some non-mac computers this can be set to FALSE to have mouse-functionality in the graphics device.

Value

a vector with the updated player colors