level: level

Description Usage Arguments Examples

Description

generates a collection of words to build a ZType game level

Usage

1
level(set_of_words, quantity, difficulty)

Arguments

set_of_words

a sorted vector of the collection of words to use

quantity

an integer the number of words to pick in

difficulty

an integer reflecting the level's difficulty

Examples

1
2
3
require(ztype)
require(magrittr)
c("dplyr","ggplot2","lubridate") %>% gen_set_of_words() %>% level(10,50)

ThinkR-open/ztype documentation built on May 6, 2019, 3:29 p.m.