wp_reset: Reset a web play to the start of a new play

Description Usage Arguments See Also

View source: R/wp.R

Description

If you immediately want to start the new play. Call wp_continue afterwards.

Usage

1
wp_reset(wp = get_wp(), bots = wp$play$bots, human = draw_human_pos(wp))

Arguments

wp

A web play object

bots

You can provide new bots. By default the current bots are used again.

human

You can define a new index of the human player. By default the current human is used.

See Also

Other Web Play: get_wp, new_wp, set_wp_for_app, wpDevelApp, wp_copy, wp_developer_ui, wp_set_to_play


skranz/gtreeWebPlay documentation built on Nov. 17, 2019, 9:15 a.m.