PocketCalc – Pocket Calculator RasPi

Game Introduction

Start by pressing a green flag. You can click the buttons on screen or use the keyboard: N="±", V="√", C="C", X="AC", P=".", T="%", M="*", A="+", Q="?", D="/", S="-", E="=", L="MC", R="MR", I="M-", U="M+". Scratch-programs can only use 0-9, a-z (and doesn't know shift-key status), and arrow-keys, except in answer-boxes where all characters can be typed. The question-mark-button "?" enters the program editor. You use the same symbols when programming as on the buttons on-screen, except that you use "*" and "/", and you can use "n" and "v" instead of "±" and "√". The programs are case-insensitive and unknown commands are ignored. An example program computing √10 using Newton–Raphson method is stored (AC MC 1 M+ A0 10 / MR - MR / 2 M+ MR). Press Enter or click the OK-button to run the current program or type in a new. The labels/anchors are A0 to A9 and there are three jump-commands: (unconditional), (true), and (false), e.g. goes to anchor A0 if the display is not close to zero (i.e. |display| > 9E-16). The sign "#" (hash) for go/jump to anchor is inspired by the same use in HTML. This is a simple pocket calculator but with constant function and percent add and subtract. It is based on PocketCalc in Java by myself in 1995: http://www.df.lth.se.orbin.se/~mikaelb/pocketcalc.html . I had some earlier prototype in Visual Basic (actually EXObasic, part of EXO4). This is bug-corrected compared to the Java-version and is also programmable. I intend to develop this further with e.g. subroutines, more memories, and seven-segment display, and it should be draggable, and rotatable. There is also a RasPi-version of this program in the studio "Raspberry Pi Tested" http://scratch.mit.edu/studios/244489

How To Play

See the Scratch 2-version http://scratch.mit.edu/projects/13110194/ and use that version if you can. This is for Scratch 1.4.

Author

mobluse

Category

Game Information

Game Popularity

411 views

Collection Count

3 favorites