Nothing
test_that("play_warrior() errors", {
expect_error(play_warrior(sum, level = 10000), "Level 10000 does not exist in the beginner tower")
expect_match(purrr::quietly(play_warrior)(function(warrior, memory) { warrior$walk() }, level = 1, sleep = "prompt")$messages, "")
expect_error(play_warrior_inbuilt_levels(function(){}, tower = "fake"), "Unknown tower")
expect_error(play_warrior(function(){}, sleep = "fake"), "Sleep is not correctly specified")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.