Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🗑 Allow remove or rm #1

Open
LucyMcGowan opened this issue Sep 12, 2017 · 2 comments
Open

🗑 Allow remove or rm #1

LucyMcGowan opened this issue Sep 12, 2017 · 2 comments

Comments

@LucyMcGowan
Copy link

LucyMcGowan commented Sep 12, 2017

First of all, 🙌 I LOVE THIS SO MUCH. Text adventure games are one of my favorite pass times.

This is a very small suggestion: one of the questions asks the user to remove an object. This one:

d_intro_simple east intro simple A variable named x has been defined in your workspace. Please remove it. rm(x) NA rm "x <<- ""a""" "tryCatch(rm(x, envir = globalenv()), warning = function(w) {invisible()})" "Create the sequence [2, 4, 6, 8, 10, 12, 14, 16, 18, 20] without typing all elements." "seq(2, 20, 2)" NA ?seq NA NA
It only allows rm(), but I think remove() should also be allowed.

@gsimchoni
Copy link
Owner

Thank you. The bigger issue may be allowing for more than one correct answer. I'll do this.

@LucyMcGowan
Copy link
Author

LucyMcGowan commented Sep 12, 2017

Ah yes, that's a good point. Alternatively, the clue could change to something like

A variable named x has been defined in your workspace. Please remove it using as few characters as possible.

Or something more elegant 😝 then how I've worded it, but you get the idea - essentially leaving only rm() as the possibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants