Bekijk Volledige Versie : Programmers’ Day
Dear Settlers,
Today is the day of the programmer. Have you always wondered how codes look like and how they even work?
Well, you can try to solve the following Code even without being a programmer.
https://ubistatic-a.akamaihd.net/0034/int/website/pictures/2018_08_01_worldwideweb.png
Give it a try and solve the Code. Post your answer in this thread.
Note: Answers will stay hidden until September 17th at 13:00 CEST, this way everyone has a chance to become a coder.
// If you can read this code, tell your Community Manager the secret word and win a small prize.
Var Prize_Crystals
Var reverse = function(s) {
return s.split (“”)reverse( ).join(“”);
}
Var communitymanager = {
Str1: “al”,
Str2: reverse(“hti”)
Str3: reverse(“tne”)
Str4:reverse(“nro”)
Str5: “am”,
Str6:reverse(“ms”)
request: function(preference) {
return preference + “. Secret word: “
+thisstr4+thisstr5+thisstr3+thisstr1+thisstr6+this str2;
}
};
communitymanager.request (Prize_Crystals)
Please note this is just a small "look" into a very complex theme. It is, in fact, not a "real" working code ;)
Prize_Crystal. Secret word: ornamentalsmith
Flandernschlacht
13-09-18, 16:40
Secret word: ornamentalsmith
Amir-Abd-Rahiem
13-09-18, 17:11
Ornamentelsmith
BlackMedusa
13-09-18, 18:01
i come up with the ornamental smith :D
FinnFolcwada
13-09-18, 18:23
Secret word: ornamental smith
Lady-Elvira
13-09-18, 18:27
Secret word: "ornamental smith"
het antwoord is: ornamentsmith
I assume that thisstr4 (for example) will not be filled with the varieble Str1 but with Str4.
A development team should wil not allow it otherwise (but off course there can be questions about the naming convention, using Str1 to Str6 and thisstr1 to thisstr6)
My conclussion is that the results will be : orn + am + ent + al + sm + ith
So it will return
. Secret word: ornamentalsmith
PistolePaultje
13-09-18, 19:34
Secret Word: ornamentalsmith
:-))
Seth_de_Settler
13-09-18, 20:34
ORNAMENTALSMITH
Seth_de_Settler
Gilde ROCK
. Secret word: ornamentalsmith
community manager = ornamentalsmith
Prize_Crystal . Secret word: ornamentalsmith
ornamentalsmith
is het denk ik
Auwe_Gries
13-09-18, 22:11
Dear Settlers,
Today is the day of the programmer. Have you always wondered how codes look like and how they even work?
Well, you can try to solve the following Code even without being a programmer.
https://ubistatic-a.akamaihd.net/0034/int/website/pictures/2018_08_01_worldwideweb.png
Give it a try and solve the Code. Post your answer in this thread.
Note: Answers will stay hidden until September 17th at 13:00 CEST, this way everyone has a chance to become a coder.
// If you can read this code, tell your Community Manager the secret word and win a small prize.
Var Prize_Crystals
Var reverse = function(s) {
return s.split (“”)reverse( ).join(“”);
}
Var communitymanager = {
Str1: “al”,
Str2: reverse(“hti”)
Str3: reverse(“tne”)
Str4:reverse(“nro”)
Str5: “am”,
Str6:reverse(“ms”)
request: function(preference) {
return preference + “. Secret word: “
+thisstr4+thisstr5+thisstr3+thisstr1+thisstr6+this str2;
}
};
communitymanager.request (Prize_Crystal)
Please note this is just a small "look" into a very complex theme. It is, in fact, not a "real" working code ;)
The answer is ornamentalsmith
Geen idee of mijn antwoord werd geregistreerd, kreeg nl een wit scherm.
Dit levert een fout op omdat thisstr1, ... niet bestaan als variabelen en de variabele Prize_Crystal de ene keer meervoud is en de andere keer enkelvoud.
Als alles correct zou zijn is de oplossing:
. Secret word: ornamentalsmith
the answer is: ornamentalsmith
Frummeltje
14-09-18, 04:48
ornamentalsmith
Leonidasde17e
14-09-18, 05:17
Ornamentalsmith
ik denk dat er ornament al, smith uit de code komt
Groet,
ToYoSoFt
BertusBaardaap
14-09-18, 08:15
Assuming it is javascript, to make it work you have to correct some typos:
var Prize_Crystal;
var reverse = function(s) {
return s.split('').reverse().join('');
}
var communitymanager = {
Str1: 'al',
Str2: reverse('hti'),
Str3: reverse('tne'),
Str4: reverse('nro'),
Str5: 'am',
Str6:reverse('ms'),
request: function(preference) {
return preference + '. Secret word: '
+this.Str4+this.Str5+this.Str3+this.Str1+this.Str6 +this.Str2;
}
};
communitymanager.request(Prize_Crystal);
Now the result is: 'undefined. Secret word: ornamentalsmith'
SimonSnorremans
14-09-18, 08:18
. Secret word: ornamentalsmith
vuurtje2012
14-09-18, 08:35
Het hidden woord : ORNAMENTALSMITH
AFZ vUURTJE2012
Secret word: ornamentalsmith
Dear Settlers,
Today is the day of the programmer. Have you always wondered how codes look like and how they even work?
Well, you can try to solve the following Code even without being a programmer.
https://ubistatic-a.akamaihd.net/0034/int/website/pictures/2018_08_01_worldwideweb.png
Give it a try and solve the Code. Post your answer in this thread.
Note: Answers will stay hidden until September 17th at 13:00 CEST, this way everyone has a chance to become a coder.
// If you can read this code, tell your Community Manager the secret word and win a small prize.
Var Prize_Crystals
Var reverse = function(s) {
return s.split (“”)reverse( ).join(“”);
}
Var communitymanager = {
Str1: “al”,
Str2: reverse(“hti”)
Str3: reverse(“tne”)
Str4:reverse(“nro”)
Str5: “am”,
Str6:reverse(“ms”)
request: function(preference) {
return preference + “. Secret word: “
+thisstr4+thisstr5+thisstr3+thisstr1+thisstr6+this str2;
}
};
communitymanager.request (Prize_Crystal)
Please note this is just a small "look" into a very complex theme. It is, in fact, not a "real" working code ;)
ornament al smal
Just as a side note for this code to work:
- the var Prize_Crystals does not have a value assigned to it, should be something like: var Prize_Crystals = "Prize Crystals"; (or a real value)
- the line: communitymanager.request (Prize_Crystal): "Prize_Crystal" is nowhere referenced, it should probably read as "Prize_Crystals"
. Secret word: “ornamentaismith
kristalletje
14-09-18, 11:07
ornament al smith
. Secret word: ornamentalsmith
WIDTHBEARD
14-09-18, 11:45
ornamenthalsmith
Knakenduif
14-09-18, 11:49
ornamentalsmith
DarkRaider
14-09-18, 12:51
ornamentalsmith.
Het woord moet zijn ornamentalsmith.
lynnlove12
14-09-18, 15:27
ornamentalsmith
SirJackOld
15-09-18, 08:49
The secret word I have discovered must be: ornamentalsmith
I jope I am right.
Greetings and thanx for this insight.
SirJackOld
BartSimpson
15-09-18, 11:36
Ornamentalsmith
Secret Word is "Ornamental smith"
Prize_crystals := TRUE;
IF Prize_Crystals
then PRINT " . secret word: ornamentalsmith";
ENDIF;
settler_bb74
16-09-18, 00:13
. Secret word: ornamentalsmith
Secret word: ornamentalsmith
Counterdutch
16-09-18, 16:18
ornamenthalsmith
Panoramix77
16-09-18, 17:16
Secret word: ornamentalsmith
I hope the settlers server code is not written like this. I would explain the frequent maintenance otherwise :-)
.Secret word: ornamentalsmith
Dear settlers,
We hope you enjoyed your time figuring out the code.
The code we are looking for is ornamentalsmith. Ornamental smith is also acceptable.
Players who got the correct answer will receive the prize via their in-game mail.
Thank you for your participation.
Happy Settling!
BB_Sious
P.S. As previously mentioned, this is not a "real" working code and it definitely cannot be used in any game :p
Powered by vBulletin™ Version 4.0.4 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.