Live data from Hacker News

Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

alex.nisnevich.com

61–70 of 246 posts

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#65
This is fun! But I've run into a problem. Advancement past level 14 seems to be bugged; upon completion, the keys in my inventory were replaced with a capital A which I assume to represent the algorithm, but then level 14 reloaded with a message at the bottom saying "You have lost the Algorithm!" Re-completing the level works, but the same thing happens, as many times as I like; the last time, I saw "run 17_pointers.jsx" scroll past, but still got the map and code for level 14.

My solution to level 14 [1] involved a state variable on the me object; could that have broken something?

[1] https://gist.github.com/anonymous/8e4f11c26e5e6fe3d7d6

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#66
post #65

This is fun! But I've run into a problem. Advancement past level 14 seems to be bugged; upon completion, the keys in my inventory were replaced with a capital A which I assume to represent the algorithm, but then level 14 reloaded with a message at the bottom saying "You have lost the Algorithm!" Re-completing the level works, but the same thing happens, as many times as I like; the last time, I saw "run 17_pointers.…

This seems to be tied to a bug some other people have experienced where new levels don't load correctly and are overwritten with existing levels.

Try going to level 15 and resetting the level (Ctrl-4). Does that help at all?

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#67
post #25

Borks at level 7, upon touching phone with undebuggable message on canvas: d up the function p 1, found:oad the level Wone! number of exits ...

Bizarre! I haven't been able to reproduce it. Can you share your code for that level (if it's been modified at all)?

Unmodified. Chrome 33 on Linux

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#70
post #66
post #65

This is fun! But I've run into a problem. Advancement past level 14 seems to be bugged; upon completion, the keys in my inventory were replaced with a capital A which I assume to represent the algorithm, but then level 14 reloaded with a message at the bottom saying "You have lost the Algorithm!" Re-completing the level works, but the same thing happens, as many times as I like; the last time, I saw "run 17_pointers.…

This seems to be tied to a bug some other people have experienced where new levels don't load correctly and are overwritten with existing levels. Try going to level 15 and resetting the level (Ctrl-4). Does that help at all?

It does! Thanks, and thanks for a fun, engrossing diversion on a rainy Monday afternoon.

(Update: Each time I enter a level, it loads as level 13, and I have to reset it to get the correct map and code -- just a heads-up in case it helps with debugging. Chrome 33.something, Windows 7 x64.)

Post reply on HN