Closed Thread
Page 9 of 22 FirstFirst ... 7 8 9 10 11 19 ... LastLast
Results 81 to 90 of 214

Thread: Day of the Programmer

  1. #81
    Recruit
    Join Date
    Dec 2017
    Posts
    2
    World
    Zeus
    Secret word: ornamentalsmith

  2. #82
    Soldier
    Join Date
    Jun 2016
    Posts
    79
    World
    Ares
    Secret word: ornamentalsmith

  3. #83
    Recruit
    Join Date
    Mar 2014
    Posts
    15
    World
    Zeus

    Answer

    Ornamental Smith

  4. #84
    Recruit
    Join Date
    May 2012
    Posts
    4
    World
    Zeus

    Secret Word is

    ornamentalsmith

  5. #85
    Recruit
    Join Date
    Nov 2015
    Posts
    1
    World
    Zeus
    ornamentalsmith

  6. #86
    Recruit Pavelesque's Avatar
    Join Date
    Feb 2013
    Location
    San Juan, PR
    Posts
    27
    World
    Ares
    Prize_Crystal. Secret word: ornamentalsmith

  7. #87
    Veteran General
    Join Date
    Mar 2014
    Posts
    526
    World
    Ares
    Build Menu, tower, row 1, column 5

  8. #88
    Recruit
    Join Date
    Mar 2012
    Posts
    3
    World
    Zeus
    "Prize_Crystal. Secret word: ornamentalsmith"

    Actually answer: compilation error

    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

  9. #89
    Recruit
    Join Date
    May 2014
    Posts
    1
    World
    Ares
    ornamentalsmith

  10. #90
    Soldier
    Join Date
    Jul 2012
    Posts
    86
    World
    Zeus
    Ornamental Smith

    I dunno if I replied but just resent

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