Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

Wednesday, April 16, 2014

Untrusted - Hacker Puzzle Game

Untrusted - Hacker Puzzle Game

My brother introduced me to to this simple online hacker puzzle game by the name of "Untrusted" (or "The Continuing Adventures of Dr. Eval"). The game was written by an Alex Nisnevich and a Greg Shuflin.

Although the game is a "rougelike" game, there is a fundamental difference. Rouge was a dungeon crawler. Untrusted is a puzzle game requiring simple hacking skills.

The objective of each level's puzzle is to write Javascript code to hack the level's Javascript code, and allow the player character to reach the exit. As the hacker, you are only allowed to edit/add code in certain sections, marked by a black background. Code marked with a red background is not modifiable. You might think you could just simply modify the code to say "go to exit" (or placing an extra exit next to player, as you can on earlier levels), but the difficulty is that each level also has different validation and constraints that you must work around.


Author's Description of Untrusted

"Untrusted —or— the Continuing Adventures of Dr. Eval is an exciting Meta-Javascript Adventure Game wherein you guide the dashing, steadfast Dr. Eval through a mysterious MACHINE CONTINUUM, wherein, using only his trusty computer and the TURING-COMPLETE power of Javascript, he must literally ALTER HIS REALITY in order to find his freedom! You must literally edit and re-execute the very Javascript running the game in your browser to save Dr. Eval from this dark and confusing reality!
The game presents you with a roguelike-like playing environment and a console window with the JavaScript code generating each level. As loaded, each level is unbeatable, and most of the JavaScript is blocked from editing. The challenge is to open a path to the next level using only the limited tools left open to you." [source]