Microsoft Small Basic

Program Listing: FQD059
'Program who draw and ramdomfull behavioral turtle by factor(variable) G.
'This factor g generated the ramdom variables of the others steps of program.
'This gets more liberty to program for complex behavior.
'Well, this is my first AI(Jej je je) Program. Well, it's a AI Joke.
'--------------------------------------------------------------------------------------------
'Programa que dibuja una tortuga de comportamiento aleatorio basado en la variable G.
'Este factor g condiciona a la svariables del resto de pasos del programa.
'Esto da más libertad al programa para comportamientos complejos.
'Bien, este es mi primer programa IA(Ja ja ja). Es más bien un chiste de IA.
'-------------------------------------------------------------------------------------------
'Author: Marco Garcia Baturan.
'Built: 27/3/14.
GraphicsWindow.Title = "Crazy Drunk Turtle."
Turtle.Show()
g = Math.GetRandomNumber(100)
s = Math.GetRandomNumber(g)
For i=1 To s

t = Math.GetRandomNumber(g)
m = Math.GetRandomNumber(g)

GraphicsWindow.PenColor=GraphicsWindow.GetRandomColor()
Turtle.Move(m)
Turtle.Turn(t)
EndFor