This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Agoldfish's profile picture

GoldCalc! Not meant to be self-centered!

Started by Agoldfish, 20 January 2014 - 12:55 PM
Agoldfish #1
Posted 20 January 2014 - 01:55 PM
Hi everyone! This is my calculator, that I wrote for a contest my friends and I had, kinda like Modjam, but for coding, we all got to write in our own language, but no JavaScript or HTML. Anyway, this is what I wrote, the decision was anonymous, and I won! :D/> Info and stuff can be found in the spoilers below. Hope you enjoy!

Features
SpoilerThis has five features,
-Addition
-Subtraction
-Multiplication
-Division
-And finally, greater than, less than or equal to. (GLET)

Support
SpoilerThis has regular and advanced computer support, given that there are no colors.

Bug submissions
SpoilerPlease report any bugs you see, this will help the program succeed! I will have a list of known bugs, so check there before posting one.

Known Bugs
Spoiler-After preforming a problem, it asks for numbers again.
-Does not clear the screen after a problem. (If you wanna call that a bug.)
-I think that is all know.

Downloads
SpoilerVersion 1.1 (current), can be downloaded with this command. Must have HTTP enabled.
pastebin get Fh4Yp7LL GoldCalc

Screenies!
SpoilerHome screen

Picking numbers

Kinda Off Topic. (KOT)
SpoilerThe contest that I entered this in was judged by people we weren't related to, nor did they have any coding experience, so there was a fair playing field.

Changelog
SpoilerVersion 1.0- First Release.
Version 1.1- Cleared screen after problem.
No longer asks for numbers after problem.


I hope you enjoy the program! Remember to report bugs, ;)/>
Edited on 26 January 2014 - 11:34 AM
awsmazinggenius #2
Posted 21 January 2014 - 11:51 PM
Nice little program you have there. Did you know you can make named spoilers?

[namedspoiler="Example"]
Example
[/namedspoiler]
makes
ExampleExample
Agoldfish #3
Posted 22 January 2014 - 11:20 AM
Actually, I did not. Thank you. ;)/>
awsmazinggenius #4
Posted 25 January 2014 - 07:12 PM
I'm a little surprised that a CC program counted for your contest. Or were you using an emulator?
Agoldfish #5
Posted 26 January 2014 - 12:30 PM
We all played Minecraft, so we were allowed. Also, the judge played Minecraft also, but never heard of CC. Odd. :P/>

Also, some bug fixes are done, check OP for details.
Edited on 26 January 2014 - 11:30 AM
harryman15 #6
Posted 11 February 2014 - 01:38 AM
Uhh, LeGoldFish, I hate to say it, but there are SO MANY CODES out there EXACTLY like this one. For example: *cough*
You may not have known this, so I'm not accusing you of anything.
Agoldfish #7
Posted 11 February 2014 - 04:18 PM
Yeah… I've been told by everyone about this.
But, I felt good because it is my first program I actually spent time on. So, cut me some slack.
Besides, everyone has to make a calculator at some time in their coding life, right? ;)/>