Jump to content
MakeWebGames

Toughest Developer Puzzle Ever


shedh

Recommended Posts

Re: Toughest Developer Puzzle Ever

This is awesome...

 

6

Stuck! Javascript is not my strong point and syntax is not the same as php, so have no clue

 

//Enter the characters in the "Solution" box (in order) to proceed.
var primes = new Array();
var primecounter = -1;
var primeFlag = true;

function findPrimes(){
var i = 100;
for (j=2;j<=i;j++) checkPrime(j);
}	
function checkNonInteger(newvalue){
var regexp = /(^\d\d*$)/;
if(regexp.exe(newvalue)) primeFlag = false;
}	
function checkPrime(j){
primeFlag = true;
for (k=0;k<=primecounter;k++){
	if ((primes[k] != "")&&(primeFlag)){
		if ((j/primes[k] != 1)&&(j/primes[k] != j)){
			checkNoInteger(j/primes[k]);
		}
	}
}
if (primeFlag){
	prime[primecounter+1] = j;
	primecounter++;
}
}
findPrimes();

 

I found the errors... regexp.exe should be regexp.exec, checkNoInteger should be checkNoInteger, prime[primecounter+1] should be primes... I typed in the solutions did not work. Then posted CNS and it worked. :-D

Link to comment
Share on other sites

Re: Toughest Developer Puzzle Ever

It seems to follow an algebra question which is pretty easy. I got 22 and it worked -b = x - 1, c = x - 1 + x, d = x - 1 + x + x, 88 = 4x. Now have to finish a sudoku grid. So be right back. Update: I just realised I dont need to finish the sudoku grid as all the numbers are from 1-9 and through trial and error going from 1 it was 9 :lol: Ok now I am stuck, there is a Nintendo remote control and I have no clue what to do. :mrgreen:

Link to comment
Share on other sites

Re: Toughest Developer Puzzle Ever

It seems to follow an algebra question which is pretty easy. I got 22 and it worked -b = x - 1, c = x - 1 + x, d = x - 1 + x + x, 88 = 4x. Now have to finish a sudoku grid. So be right back. Update: I just realised I dont need to finish the sudoku grid as all the numbers are from 1-9 and through trial and error going from 1 it was 9 :D Ok now I am stuck, there is a Nintendo remote control and I have no clue what to do. O0

Okay the nintendo one :P

http://www.jeffblankenburg.com/tdpe/nintendoentertainmentsystem.js

and

http://www.jeffblankenburg.com/tdpe/contra.js

Kind of a translation in a way to work out the letters and what order to click them in.

The combination is

Up

Up

Down

Down

Left

Right

Left

Right

B

A

Now for some weird Mario level!

Link to comment
Share on other sites

Re: Toughest Developer Puzzle Ever

 

what do you do at level 27, i went to twitter which didn't help

what's on level 27 again?

 

EDIT: oh wait, um...

take the first letter from each line, read downwards

the answer is that word, which also happens to be the hint for the next puzzle

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...