tilesleft: Function to find out which letters are not on the gameboard...

Description Usage Arguments Value Author(s) Examples

View source: R/tilesleft.R

Description

Find out which letters are not on the gameboard yet.

Usage

1

Arguments

tiles

A string character of length 1 with the letters that have been played

language

One of the languages "dutch", "english" or "swedish". Defaults to "dutch".

Value

A table with tiles. Should not contain negative values.

Author(s)

Me!

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
tilesleft("mephozenebevalgeewaarelueweefntendjew")
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (tiles, language = "dutch")
{
    strsplit(tiles, split = "")
  }

vdweijer/games documentation built on Dec. 23, 2021, 3:02 p.m.