Posted 04 August 2017 - 08:11 PM
I'm trying to make a simple program where a mining turtle will take user input and dig a rectangular prism of that size. It gets one layer done, doesn't return to its starting position and digs the wrong way. I think its not working on the line with if s~=x. I had the program print the values of s and x before it compared them and even when they are the same it still does what is in the if statement. Any help would be greatly appreciated.
Here is the code:
https://drive.google...blNPV3h2WWxuc2c
Here is the code:
https://drive.google...blNPV3h2WWxuc2c