This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Ask for operation and send the ball to the proper coordinate on the (0-indexed) 2nd dimension. | |
/First, move the ball out of the way into a safe place. | |
(0) >4 | |
{4,1} >0 | |
{0,1|4,1} $ | |
/Checks if the input is "*" or anything with a lower ASCII value (which is an invalid input). If it is, send the ball to the multiplication calculator, else send the ball to the next check. | |
{0,2|4,1} Y[43,>2,>0] | |
(2,0,3,0,1) <0 | |
(0,0,3,0,1) <4 | |
{2,3} >3 |