Closed Thread
Page 1 of 22 1 2 3 11 ... LastLast
Results 1 to 10 of 214

Thread: Day of the Programmer

  1. #1
    Administrator BB_Odhran's Avatar
    Join Date
    Oct 2017
    Posts
    670
    World
    Zeus

    Day of the Programmer

    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
    Last edited by BB_Odhran; 09-13-18 at 03:31 am.

  2. #2
    Recruit
    Join Date
    Jan 2012
    Location
    Boston
    Posts
    41
    World
    Zeus
    ornamentalsmith

  3. #3
    Recruit
    Join Date
    Dec 2013
    Posts
    9
    World
    Ares
    Ornamental smith

  4. #4
    Recruit
    Join Date
    Nov 2011
    Posts
    9
    World
    Zeus
    ornamental smith

  5. #5
    Recruit
    Join Date
    Jul 2018
    Posts
    1
    World
    Zeus
    The secret word is
    Spoiler
    Ornamentalsmith

  6. #6
    Recruit mummsy's Avatar
    Join Date
    Jun 2014
    Location
    Missouri
    Posts
    20
    World
    Ares
    ornamental smith

  7. #7
    Settlers Guide Evil_J's Avatar
    Join Date
    Apr 2012
    Location
    Portugal
    Posts
    826
    World
    Zeus
    ornamentalsmith

  8. #8
    Recruit
    Join Date
    Mar 2016
    Posts
    13
    World
    Ares
    ornamentalsmith

  9. #9
    Recruit
    Join Date
    Sep 2015
    Posts
    1
    World
    Ares
    ormanentalsmith

  10. #10
    Recruit
    Join Date
    Aug 2012
    Posts
    2
    World
    Zeus
    Ornamentalsmith

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