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

Help, FAQ would be nice #251

Open
tempelmann opened this issue May 15, 2014 · 2 comments
Open

Help, FAQ would be nice #251

tempelmann opened this issue May 15, 2014 · 2 comments

Comments

@tempelmann
Copy link

I have several questions and had also some trouble using the game at start, and I wonder if you do not provide any hints on purpose or just think that this isn't an issue...

For instance:

  • At start it's not clear that one has to use some keys to move around.
  • The ctrl-keys (^1) etc. do not necessarily work on Macs, where they're using to switch screens. It would be helpful to point out that the menu names are clickable as well. Took me a while to figure this out, almost gave up.
  • While the solutions are saved as gists, I wonder if there's any way to get to them later if I don't save the URLs right away?
  • Is there a way to see solutions if I'm stuck or if I like to see how others solved it? Is google the only way?
  • What are my debugging options? Is there a way to print values? I had to use the alert() function because I found no other way. Kind of a hack (haha).
@AlexNisnevich
Copy link
Owner

Agreed - an FAQ could be nice.

To answer your questions:

  • Your solutions are also saved locally - you can go back to a previously solved level to see your solution for it.
  • People have been posting solutions on https://github.com/AlexNisnevich/untrusted/tree/master/solutions
  • You can try using console.log() to log to the Chrome console, though the game discourages the use of the console a little. You can also use map.displayChapter() to print values (you must pass in a string though).

@ghost
Copy link

ghost commented Aug 31, 2015

On crispsContest.jsx (remind me: WHY is it called that?), if you drop the computer then you have to press ^5, which isn't fun on Macs.

What's the function that displays a message? Oh yeah, map.writeStatus. Use that to add instructions to the game on level 1, like "Use the arrow keys to move and get the computer!"

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