TechZ2124 - Custom level - from Android
PlayEdit36 players liked this.Log in to like this level.

Here the first LUA Calculator of Principia !

You can perform many operations on numbers up to 12 digits !

Please read the first prompt before use it.

Here the list of what it can do :

-The square root of X
-X + X
-X - X
-X × X
-X ÷ X

Update 1 :

Now able to make decimals numbers ! Yeah !
Also added Cos-1, Sin-1 and Tan-1 keys !
Added 7 digits to create numbers up to 12 digits !

Please notice any bug, trouble or crash.

Enjoy !

Views: 3334 Downloads: 1162 Unique objects: 13 Total objects: 542

Discuss this level

Log in to comment on this level.
  • TechZ2124: @dominguezbuilder18: Thanks :)
    @Cristopher: Mega thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  • Cristopher: Mega awesome!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  • dominguezbuilder18: Incredible
    is awesome
  • TechZ2124: @Ronan: Of course ;)
  • Ronan: @TechZ: think France will beat Germany?
  • Ronan: @TechZ: makes sense!
  • TechZ2124: @Ronan: Lol maybe I'll crash my phone on the floor so the end of my device XD
  • Ronan: Two or three, sorry
  • Ronan: If your choice is one or two... You must change you're occupation description!
  • Ronan: @TechZ: of what? The level... You playing Principia... Or your life!
  • TechZ2124: @Ronan: THE END
  • Ronan: @TechZ: but what if you did not
  • TechZ2124: @Blood: Thanks !
    @Ronan: Impossible, I have at least 10 copy of any of my builds XD
  • Ronan: Your finally done and haven't saved yet... And you accidentally delete the lua script
  • Blood: Awesome!
  • ricardito08: @TechZ: ask Me if need translation
  • ricardito08: @TechZ: 你才是哦么!
  • TechZ2124: @principia_rus: @keeghan: @electro: Thanks guys ;) @electro: No, I don't know jammer312 in real life ;)
  • electro: Wow wow wow wow I want to like it infinite times! Are you jammer312's friend? Best thing I seen in principia.
  • keeghan: Nice level
  • principia_rus: nice calculator!!!!
  • TechZ2124: @The_Blacksmith_: Thanks ;) I'm on holyday so i have the time to build things like this. But in this Lua Calculator I just copied more or less 80 lines then pasted it 12 times and just changed some variables....In total it took me more or less 6 hours.
  • Golden: @The_Blacksmith_: you mean entertainment
  • The_Blacksmith_: How long did it take you to type1136 lines of code! Looks like someone has too much time on their hands! Lol seriously though, this is an awesome build. Like the dummy holding up the lua box. LIKE
  • zardOz2: @TechZ: heh, I know the feeling... my poker/roulette and blackjak codes are way too long... "inefficient but functional" I call it.
  • TechZ2124: @zardOz: Thanks zardOz, I'm not a professional programmer so I know my code is a bit hard to understand because it is written strangely...Here the important line of code that display the number :
    totalnumber = (number1*10^(currentnumber-1-decimal))+(number2*10^(currentnumber-2-decimal))+(number3*10^(currentnumber-3-decimal)) etc...
    When number1 is the first number you touched, number2 the second etc...and currentnumber is the number of numbers that you have touched ( for example if you tap 1092 currentnumber = 4 ).
    Decimal is used only if you pressed the "dot" button. Otherwise it is equal to 0.
    Then you just have to do game:message(totalnumber).
    Hope you understood ;)
  • zardOz2: @TechZ: nice update btw, good work displaying the numbers thats tricky to figure out.
  • zardOz2: Well I cant see your whole code yet but this should help a bit... if this:first_run() then for a=1,100 do this:listen_on_frequency(a) end end
  • TechZ2124: Here the new vereion of my calculator. I did my trigonometries homeworks with it and it works perfectly ;)
  • TechZ2124: @Rubicon: Mmmm, nice idea, I will try to make it ;)
  • Rubicon2: @TechZ: @zardOz: you guys should Try building a Simon Says game (Follow the for colour pattern) using Lua. I thought to do it with electronics but it's probably much easier with Lua, especially the randomizing of colors.
  • zardOz2: *weeps for my ignored calculator;) nice work TZ
  • TechZ2124: @Rubicon: Thanks dude, but yours still nice because it is made by electronics and not LUA.
  • Rubicon2: Awesome, makes mine look like a cave man calculator :)
  • JOELwindows7: @TechZ: dude, you'll make TechOS future!
  • TechZ2124: @Anarkuz: I already have an idea to add decimals, but I will add it later, now I have to build my entry for the RUN !!! contest.
  • TechZ2124: THANKS ALL !@Anarkuz: Haha lol maybe we will create a new OS ;) I'm 14 years old
  • JOELwindows7: Make this to real life, again! Because what you've made is

    Exceed what jammer312 does! (100000000 star *)
  • Anarkuz: And adding decimals shouldn't be too hard at all with lua, just set a floating point number variable and insert a decimal when pressed, limited to one of course, then send that to whatever .math() function youre using. I never learned lua though, so I don't know your limits and if you can convert strings into variables with principia lua
  • Anarkuz: Another masterpiece, great job. Now you, zardoz and cralent should collaberate on building a Linux kernel. Awesome build, and congrats on making principia history. Curious, how old are you?
  • FirePhenixFire: Amazing love the dumy holding the lua script :D
  • The_Blacksmith_: Amazing! LIKE
  • Ctjet: thanks tech. :D
  • Leis: @TechZ: Simply amazing @@
  • woodnut2: Super Scientific calculator :)
  • zardOz2: Nice one tz
  • TechZ2124: @Alfajim: @gamer456ism: Thanks guys ;) If you need any other key i can add it
  • gamer456ism: Amazing!
  • Alfajim: Wow great work that's amazing! :)
  • TechZ2124: Please LIKE and COMMENT !

LEVEL ID: 3498