Simple Calculator (Beta)

Rubicon2 - Custom level - from Android
PlayEdit22 players liked this.Log in to like this level.

This is a simple calculator (not so simple to build) that will only do addition and subtraction of SINGLE DIGITS, but it has a realistic calculator display. I challenged myself to see if I can pull it off, I spent hours trying to debug it so that it loops properly and doesn't overlap numbers etc.

I have limited the input to a single digit, so basically it takes (number/ +or- /number / = / clear)

UPDATE: MADE UP CMP-LE GATES TO INCREASE THE THRESHOLD OF THE COMPARISON GATES SO EVERYTHING SHOULD BE WORKING PROPERLY. (Thanks ZardOZ!)

NOTE: TRY NOT TO PUSH MORE THAN ONE BUTTON AT A TIME, AND DON'T PUSH THE BUTTONS TOO FAST,
ONCE YOU COME ACROSS A GLITCH OR A FALSE OUTCOME, IT JUST MEANS THAT THE LOOPING GOT MIXED UP, JUST RESTART THE LEVEL.

Views: 2627 Downloads: 1117 Unique objects: 32 Total objects: 995

Discuss this level

Log in to comment on this level.
  • FirePhenixFire: I love how u call it a simple calculator but in reality there is nothing simple about it :D
  • Rubicon2: @golden: thanks, I realized that there's a problem when subtracting from small numbers, I see there's a few more issues to improve on, but I'm not sure if I wanna spend too much more time on this, if like to start on the pro contest entry if I can :)
  • Rubicon2: @zardOz: yes I read the conversation in one of your levels, that's great news. There's still more issues in this level, I'll see if there's any change after the update.
  • Golden: BTW when I enter like this
    1-9=2
    ?!!??
  • zardOz2: Did you see that the value problem will be resolved in the next update? My calculator may get micron level precision after all!
  • Rubicon2: @abrackers: @Alfajim: thanks :)
  • Alfajim: Wow dude great job! :)
  • abrackers2: Awesome
  • Rubicon2: And the 9 doesn't like to be subtracted at the moment lol
  • Rubicon2: The only thing not working at the moment is the 0, I'll work on it.
  • Rubicon2: @zardOz: ok I'll check it out, this might be what I need to fix my issues, thanks
  • Rubicon2: @zardOz: ok I'll check it out, this might be what I need to fix my issues, thanks
  • zardOz2: @Rubicon: check the wiki update for Cmp-le, I just put it on there. For greater than uuse Cmp-le and reverse the two inputs, ge=cmp-l, inputs switched, =/= is cmpe out to inverter
  • Rubicon2: @zardOz: I thought about doing that and I think I attempted it with no success. If you invert the signal coming out of the cmp-le, does that convert to >= ? BTW when I used the slider on the jumpers initially, I had to adjust the value manually after to the first decimal cause the slider is not as accurate.
  • zardOz2: The reality is that the Jumper signal does not = it's reported value... it killed my calculator. It's close but not quite. You may have to set up an "is between" gate with a greater than/less than run to an AND
  • Rubicon2: @TechZ: yes I know, that's one of the combos that doesn't work properly. For some reason when the number wraps around it doesn't equate to exactly 8, so it doesn't get recognized and it remains a 9.
  • Rubicon2: @principia_rus: thank you
  • TechZ2124: Hey Rubicon, if you press 9+9 it outcomes 19 !
  • principia_rus: NIICE CALCULATOR:-D
  • Rubicon2: @TechZ: thank you :)
  • Rubicon2: @Leis: thanks! Lol
  • TechZ2124: Wow, never expected that someone could that...You surprised me another time Rubicon !
  • Leis: @Rubicon: Nice one! I hope I will have a scientific calculator soon! Lol
  • Rubicon2: Just adjusted the equal sign sensor
  • Rubicon2: @golden: @yong: you kinda have to press the equal button on the top half, I'll try moving the sensor to adjust for that, and thanks :)
  • yong: The equal button sometime doesn't respon properly, but this is a genius built!! awesome.
  • Golden: If didn't enter just keep pressing enter rapidly to get to work
  • Rubicon2: @Tetsu: @woodnut: thanks guys, I'll try to keep tweaking it and iron out the bugs :)
  • woodnut2: Great job , thumbs up :)
  • Tetsu: Genius!!
  • Rubicon2: @zardOz: most of the additions work properly and loop, once you hit a glitch (more so with the negatives) the looping messes up. I'll try adding a click sound to the buttons
  • Rubicon2: @zardOz: sorry it's: number / +or- / number / = / Clear
  • zardOz2: IC, The problem lied with the clear I think, cant get it to do more than one in a row. If you update this please y-split the button inputs to a sfx emitter with a "click" sound. I admire the great effort and empathise with the fun of figuring out the various gate tricks:)
  • Rubicon2: @zardOz: I have limited the input to a single digit, so basically it takes (number/ +or- /number / clear)
  • Rubicon2: @golden: I've lost count of the hours :) thanks
  • zardOz2: Hmm, I may have spoken too soon, It is not working at all for me cant get more than one number input and it wont calculate... I can post a number counter I made might help.
  • zardOz2: Ill study it for you, I have several of these I started, maybe I can figure it out.
  • Golden: Cool
    How long does it take you to build that?

LEVEL ID: 2108