Jump to content




Help! Program bug :(


4 replies to this topic

#1 Inocxh

  • New Members
  • 1 posts

Posted 12 March 2014 - 02:50 PM

Hi! I have tried to create my first program(a quarry) but when i start the program the turtle just rotates
here is the pastebin :D http://pastebin.com/8U3XWzPy
(sry for bad english. hopefully you understand :D)
(Please say if this is under the wrong category :) )

#2 Inumel

  • Members
  • 120 posts

Posted 12 March 2014 - 05:02 PM

Havent even looked at your code yet, but did you fuel the turtle up? using turtle.refuel() or refual all

Edited by Inumel, 12 March 2014 - 05:03 PM.


#3 Alice

  • Members
  • 429 posts
  • LocationBehind you.

Posted 12 March 2014 - 06:46 PM

 Inumel, on 12 March 2014 - 05:02 PM, said:

Havent even looked at your code yet, but did you fuel the turtle up? using turtle.refuel() or refual all
turtle.refuel() in the program, and refuel all when not in the program.

#4 Inumel

  • Members
  • 120 posts

Posted 12 March 2014 - 09:14 PM

 Death, on 12 March 2014 - 06:46 PM, said:

 Inumel, on 12 March 2014 - 05:02 PM, said:

Havent even looked at your code yet, but did you fuel the turtle up? using turtle.refuel() or refual all
turtle.refuel() in the program, and refuel all when not in the program.

yes, thank you for clarifying

#5 twormtwo

  • Members
  • 14 posts
  • LocationFlorida, USA

Posted 13 March 2014 - 12:13 AM

for the Forward() function you have to put
block = turtle.detect()
before the if statement, otherwise it does funky stuff





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users