Learn R Programming

ztype (version 0.1.0)

level: level

Description

generates a collection of words to build a ZType game level

Usage

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

Run this code
require(ztype)
require(magrittr)
c("dplyr","ggplot2","lubridate") %>% gen_set_of_words() %>% level(10,50)

Run the code above in your browser using DataLab