Appearance
function apply(game, action): Result;
Calls the function an action names. A malformed action is refused with 'invalid-action'.
game
Game
action
Action
Result