I actually used a "private API" in level 14, crisps contest. https://gist.github.com/anonymous/dacd3f1de73a59b5983e Is this cheating?
Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
181–190 of 246 posts
Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#182Earlier quoted context omitted.
Thanks for the fun game! Could you possibly help us by putting in a ruler that marks the map coordinates? Yes, I can read the code to find where things are (or count), but there were a few times where it was somewhat inconvenient.
Thanks for the feedback! We've been thinking about doing that, but the challenge is making it inconspicuous enough to not clash with our minimalist aesthetic.
Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#183canvasContext.beginPath() Begins drawing a new shape. canvasContext.beginPath(x, y) Sets the end coordinates of a line.
this second beginPath should be lineTo, took a minute to debug in level 16 :)
Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#184I actually used a "private API" in level 14, crisps contest. https://gist.github.com/anonymous/dacd3f1de73a59b5983e Is this cheating?
Solved it now by changing greenKey to theAlgorithm
Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#185Any tips on level 15? Once the player is killed what could I possibly do?
Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#186Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#187 map.placeObject(map.getWidth()/2, 5, 'block');
//map.placeObject(map.getWidth()/2, 1, 'block');
var player = map.getPlayer();
map.defineObject('missile', {
'type': 'dynamic',
'symbol': '^',
'color': 'blue',
'interval': 100,
'projectile': true,
'behavior': function (me) {
me.move('up');
}
});
function jericho()
{
var i;
for (i = 3; i Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#188Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#189Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#190Can anyone give me a hint for level 12?