back: Go back in the game tree, reverting the last move from...

Description Usage Arguments Value

View source: R/game.R

Description

Go back in the game tree, reverting the last move from current branch

Usage

1
back(game, steps = 1)

Arguments

game

A game node

steps

How many steps (half-turns) to go back

Value

A game node


curso-r/chess documentation built on Dec. 19, 2021, 7:04 p.m.