Posted 03 December 2013 - 10:00 PM
Hi, this is my very first program.
It's purpose is to make a 3x3 tunnel to whatever length you tell it to. The features it should have as of now are: Place torches every 9 cycles, check for fuel and refuel when you have less than 80 fuel left, tell you how much fuel you have periodically.
The part that I can't get to work is to place torches. Everything else works as planned for now.
Here is the pastebin: http://pastebin.com/L4qXba4D
The code might not be efficient, but its my first attempt. Thanks!
It's purpose is to make a 3x3 tunnel to whatever length you tell it to. The features it should have as of now are: Place torches every 9 cycles, check for fuel and refuel when you have less than 80 fuel left, tell you how much fuel you have periodically.
The part that I can't get to work is to place torches. Everything else works as planned for now.
Here is the pastebin: http://pastebin.com/L4qXba4D
The code might not be efficient, but its my first attempt. Thanks!