react: React to player's actions during the Castle of R game

Description Usage

View source: R/react.R

Description

This function is called in the background after each of the player's actions and responds accordingly. It is the "engine" of the game, modifying the game environment according to the game's logic.

Usage

1
react(game, ...)

gsimchoni/CastleOfR documentation built on May 22, 2019, 12:23 p.m.