1. Announcing Mekorama on the Web!

    Now anyone can play levels from the forum online, with one click!

    Dismiss Notice
  2. Psst! If you're new here, welcome! Please visit these pages first for information about the forum and Mekorama:

    Welcome! ¡Bienvenido! Selamat datang! Добро пожаловать! Willkommen!
    and
    Everything you want to know about Mekorama

    Dismiss Notice
ZachMan

Raise the Bar

Inspired by a level I had no clue on, I decided that since there are only 10 positions for each switch, somebody should get it.

Raise the Bar
ZachMan, Sep 1, 2016
    • Rating:
      4/5,
      nGord
      Super easy, but I love code puzzles. Thanks!
    • zolv
      Hahaha, what a coincidence! Yesterday I created lock puzzle (I uploaded it minute ago) which looks very-very similar to Your :D
      Please believe me, i DIDN'T COPIED YOUR WORK AND IDEA!!! :)
      I spot Your level right after I uploaded mine so they appeared on the same page.
    • TR O
      I don't get it. Any more hints plz?=)​
    • zolv
    • zolv
      Can You explain why...
      The solution is 1011010 ?
      My understanding (apparently wrong) was that according to title "Rise the BAR", the idea is to move moving blocks up so hipotetically BAR characters will go up. There is a clue under the letters, which one should go up to move particular character up.
      - It works for R (2 boxes where "R's legs" are standing" goes up.
      - But it doesn't work for B and A. For B I expect 2 boxes most left should go up to rise B up. For A, box inbetween legs should stay down. In other words, it is impossible to rise A letter because it does not stay on boxes (hipotetically).
      Can You explain? For me, solution could/should be 1101010:
    • nGord
      @zolv Your spoiler has the right solution, but the wrong explanation (as you stated).

      Rather than giving away the solution, I thought maybe you'd like a hint or two first:
      There are three letters in BAR and three sections of sliders separated by green spots. ;)
      The sliders only move one space up or down, i.e. they are either in the up or down position. Quite like binary. ;)
      For the letter A there is only one slider: thus either a 1 or a 0. What can you think about the letter A that also associates with either 1 or 0?
      If A=1 and B=2 ...
      Counting the letters of the English alphabet: A=1, B=2, R=18. In binary you have A=1, B=10, and R=1010. In other words, BAR can be expressed as 10 1 1010.
      zolv likes this.
    • zolv
      @nGord Hmm, it doesn't work this way because...
      18dec=10100b, not 1010b which is 10dec. Do I miss something?
    • nGord
      @zolv Actually, you're right! I miss-counted just like @ZachMan !! (but you're a little off as well ;))
      In order to count in binary, one starts with the rightmost digit (just like in other bases). Thus the rightmost digit is for +0 or +1, the second rightmost for +2, the third rightmost for +4, the fourth rightmost for +8, the fifth rightmost for +16, and so on. The pattern you see is that each successive digit represents a power of 2 (just like in decimal where it's the power of 10).

      The powers of two are (counting from the right): 2^0=1, 2^1=2, 2^2=4, 2^3=8, 2^4=16, and so on.

      The mistake that I clearly made was that since I knew that R was the 18th number in the English alphabet, I simply chose 1010 to represent it making the mistake that the first one is 16 plus the second one which is 2 (16+2=18). I'm assuming that ZachMan made the same mistake thinking that the fourth rightmost digit is 2^4=16 when in fact it is only 2^3=8.

      Zolv in your spoiler you wrote: 18dec=10100b. Kind of easy to make mistakes I guess.:rolleyes:

      18dec=10010b :)
      @ZachMan Could you please confirm?
      zolv likes this.
    • B Hill
      @nGord Maybe he ran out of space since levels are restricted to 16 blocks wide. But then he could just make it an L shape.
    • zolv
      @nGord
      Of course it must be 10010b :p
      PS: I am software developer for 10 years ;) I started on 8-bit computer C64, no need to explain me binary ;) But thank You for pointing my mistake...adding decimals is so hard ;)
      nGord likes this.
    • nGord
      The explanation was more for those casually passing by. ;)
    • B Hill
      nGord likes this.
    • ZachMan
      In the middle of several things, moving out of state being one of them. I have a different version with the correct # of switches. Can I trade out the base code as an update or do I need to delete and resubmit?
    • ZachMan
      @nGord Yeah, I actually made a corrected version but in between finishing and uploading, I posted the wrong one. I like the aesthetics of the first on better, but what can you do. Also, as of this posting I still have yet to update with the correct version.
    • Rating:
      4/5,
      Gepeto
      Today my kid has downloaded several levels on my back, included your. I don't know how he did (chance apparently) but he solved your code and was really exited by this. Thanks for that :) For me, I admit that I didn't have to patience to solve it ;)
      zolv likes this.
    There are no comments to display.
  • Album:
    Zach Man's Puzzles
    Uploaded By:
    ZachMan
    Date:
    Sep 1, 2016
    View Count:
    1,975
    Comment Count:
    15
    Tags:
    code breaking