This class represents a very basic player that plays randomly and will never feel confident enough to submit a solution
More sophisticated players should inherit this class
get_submission()
Player$get_submission()
get_next_question()
Player$get_next_question()
recieve_info()
Player$recieve_info(question, info)
submit()
Player$submit(candidate_minefield)
new()
Player$new(height = 10, width = 10, mines = 10)
print()
Player$print(...)
clone()
The objects of this class are cloneable with this method.
Player$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.