Closed Thread
Page 18 of 22 FirstFirst ... 8 16 17 18 19 20 ... LastLast
Results 171 to 180 of 214

Thread: Day of the Programmer

  1. #171
    Recruit
    Join Date
    Feb 2012
    Posts
    6
    World
    Zeus
    Ornamentalsmith

  2. #172
    Recruit
    Join Date
    Nov 2013
    Posts
    6
    World
    Ares
    Secret word: Ornamentalsmith

  3. #173
    Recruit
    Join Date
    Jul 2011
    Location
    NH
    Posts
    2
    World
    Zeus
    ornamental smith

  4. #174
    Recruit
    Join Date
    Feb 2012
    Location
    in a house
    Posts
    12
    World
    Zeus
    ornamental smith

  5. #175
    Recruit
    Join Date
    Sep 2014
    Posts
    9
    World
    Ares
    ornamentalsmith

  6. #176
    Recruit
    Join Date
    Apr 2014
    Posts
    11
    World
    Ares
    Ornamentalsmith

    Thanks Anna

  7. #177
    Recruit
    Join Date
    Jan 2014
    Posts
    2
    World
    Ares
    ornamental smith

  8. #178
    Recruit
    Join Date
    Sep 2013
    Posts
    2
    World
    Zeus
    The secret code is: ornamentalsmith

  9. #179
    Recruit
    Join Date
    Jul 2015
    Posts
    1
    World
    Ares

    Ornamentalsmith

    Quote Originally Posted by BB_Odhran View Post
    Dear Settlers,

    Today is the day of the programmer. 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.


    • Give it a try and solve the Code. Give your answer in this thread.



    Code:
    // 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+thisstr2;
        }
    };
    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

    -BB_Odhran
    Ornamentalsmith

  10. #180
    Recruit
    Join Date
    Jun 2012
    Posts
    1
    World
    Zeus
    ornamental smith ?

Closed Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts