game: Play the escapeR Game

playR Documentation

Play the escapeR Game

Description

Functions used by students to move through the virtual escape room.

Usage

play()

submit(answer)

hint()

status()

reset_game(player = NULL)

list_rooms()

Arguments

answer

The answer to check for the current room.

player

Character scalar. Defaults to the active player.

Value

play(), hint(), status(), and reset_game() return useful game objects invisibly. submit() invisibly returns whether the answer was correct. list_rooms() returns a data frame with room IDs, modules, titles, and learning goals.

Examples

head(list_rooms())

escapeR documentation built on Sept. 27, 2026, 5:06 p.m.