_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

Sun Apr 22, 2012 11:30 am

sumasmreq

Rookie

Joined: Fri Jan 27, 2012 6:57 pmPosts: 40

Re: Guess the code!

It looks like some sort of game where the user has to guess what color goes in which bin. (Kind of like mastermind perhaps?)

It looks like some sort of game where the user has to guess what color goes in which bin. (Kind of like mastermind perhaps?)

Close, but not quite!

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

Wed Apr 25, 2012 5:30 pm

miki

Moderator

Joined: Thu Dec 22, 2011 7:42 amPosts: 43

Re: Guess the code!

Hi NextGen,While all our friends go nuts trying to guess what's the ultimate purpose of your code (I'd bet on 42), it's my turn to launch a game .The challenge is : Can you optimize you code to be smaller and faster with exactly the same inputs and outputs?Miki.

Hi NextGen,While all our friends go nuts trying to guess what's the ultimate purpose of your code (I'd bet on 42), it's my turn to launch a game .The challenge is : Can you optimize you code to be smaller and faster with exactly the same inputs and outputs?Miki.

PS: this message will not self-destruct in 15 seconds. ... I hope.

Well, sure, I probably could. But, I don't really have time because BrickWorld Chicago is less than two months away. They're having several competitions, and I needz to buildz ROBOTZ!!!!

P.S. Just wondering..... Has anybody actually tried running this code?

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

Thu Apr 26, 2012 9:11 am

miki

Moderator

Joined: Thu Dec 22, 2011 7:42 amPosts: 43

Re: Guess the code!

Me at least. I have a lot of time since my main computer is still out of order

Ok, your mission: Figure out what this code does by the time the weekend ends, that is Monday, or else I'm just going to tell you. And that wouldn't be any fun.

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

I'm warning you: If nobody has guessed correctly by 5:00PM, US Central Time, Monday, I will post a solution video.

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

for(int y = 0; y <= 5; y++) { if(BrickInfo[y].DoesColorBelong[RandomLoc] == "unknown") { BrickInfo[y].DoesColorBelong[RandomLoc] = "no"; } } }//If you press yes, then it sets ColorDefined to true, the location of the color to the randomly chosen location, that you confirmed, and that same slot in all the other color arrays to "no". else { while(nNxtButtonPressed != kNoButton);

BrickInfo[BrickColor].DoesColorBelong[RandomLoc] = "no"; }//If you said no, then it simply sets that slot to "no". } }}

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

Umm, I think your joking, right? This was just running on the virtual emulator. It was just the code, with no physical interface.

P.S. Thanks!

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum