This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

444Jam444
444Jam444 presents ...

2020/4/21

Advanced Calculator Project (WIP)

Currently a work-in-progress

1697 views / 19 in the last 7 days

1 vote | 0 in the last 7 days

Tags: with-source calculator

This scenario is a member of: My friends' and my best games


open in greenfoot
Your browser does not support the canvas tag.
It still doesn't work a little, when calculating some example, the program stops + everything is calculated in "int", it is better if it is in "dooble". a little help, in order to remove any errors on stopping the program, use try {"Dangerous code"}catch(Exception e){}
try{ "Dangerous code" }catch(Exception e){}
555JAM555555JAM555

2020/6/10

Yeah, I have been using try...catch. Some calculations are in int due to either a. poor design choices earlier on with less understanding b. rounding due to the absolute complexity of trying to calculate things like "(decimal)!" Also, the project was way too ambitious for the time constraints. Never trust your past-self to make good decisions. Past-me is an idiot.
555JAM555555JAM555

2020/6/10

It is a little jank, but this is the first time in the entire history of the existence of this project that it can calculate something at all, just happens to be the day before it's due. Not much I can really do without decreasing the potential for getting marks in the submission of the project.
Clearly, good luck in the development of the project!)
By the way, you can replace the sign": "with the sign"|", I think it will be more beautiful.
555JAM555555JAM555

2020/6/10

Yes but also no. Remember that abs | | is a thing. Just a friendly reminder. :)
555JAM555555JAM555

2020/6/10

I appreciate your good wishes in my development. Except my development ends in about 6h 50minutes when this project is due... I might not continue development after, but I'll probably let someone else pick it up as long as I'm credited :)
555JAM555555JAM555

2020/6/10

(pulling all-nighters to do work is fun...)
But at the expense of the " | " icon, I advise you to think, because the logical or consists of two "|", not one.

See all comments

Want to leave a comment? You must first log in.

Who likes this?

Kostya20052011