[starlogo-users] Beginner needs help

Oscar González Seguí ogos at colmich.edu.mx
Sun Dec 17 13:43:11 EST 2006


Eric:
I thank your immediate answer.
You can take me as a wild case of somebody looking for a simulation tool (knowing some mathematics and logic, and a poor BASIC).

I want to do something like this:

I need to create 
one agent (agent of the type turtles), and wish to label it as "1" (or anything)
each of these turtles  support variables:
var1: (with integer values)
var2: idem
var-of-position (x,y)

That's my one week problem. 
I can create one agent (Create turtles 1)
But that's all my work.
How can I know its ID? Or instead call that agent "A1"
How can I know its x coord and y coord? How can I define:  "Turtles support var1, var2..."?
How can I know where A1 is standing? :Tell me coord x, coord y of 'A1' 

I have already seen the tutorial epidemic. Remains opaque for me.

I'm sorry Professor, that's my situation.

Thanks again.

Oscar
 




 




 
 






-----Mensaje original-----
De: Eric Klopfer [mailto:klopfer at MIT.EDU]
Enviado el: Dom 17/12/2006 11:56 a.m.
Para: Oscar González Seguí
CC: starlogo-users at media.mit.edu
Asunto: Re: [starlogo-users] Beginer needs help
 
Hi Oscar

The notion of developing a programming structure is a good one that  
we have yet to really solidify in TNG.  As the language develops  
we're hoping to do this (the beta version due early next year should  
have a start on this with a reworked blocks canvas).

In the mean time, you can try looking at the tutorials.  In  
particular the epidemic tutorial should take you through much of what  
you are looking for.
http://education.mit.edu/starlogo-tng/tutorial-epidemic.htm

Eric

On Dec 17, 2006, at 12:18 PM, Oscar González Seguí wrote:

> This is my first message to the list.
>
> Thank you developers of StarLogo! Even if at the present I cannot  
> start, I understand it is an incredible tool.
>
> I'm learning the basics of StarLogo with the TNG version.
>
> 1) I'm trying to create just one agent and stick variables (with  
> values) to it.
>
> 2) After that, I'd like to create other agents in same and  
> different shapes (¿or breeds?), each  with variables and values too.
>
> 3) After that I want that every one agent compare itself with  
> another when meeting (not exactly colliding, but placed in certain   
> region near around). But this is the future.
>
> I attempted to begin with that job during a week. Cannot do the  
> first point.
>
> Can you help me?
>
> Did anybody build some basic meeting structure?
>
> Thank you,
>
> Oscar Gonzalez
>
>
> _______________________________________________
> starlogo-users mailing list
> starlogo-users at media.mit.edu
> http://education.mit.edu/mailman/listinfo/starlogo-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://education.mit.edu/pipermail/starlogo-users/attachments/20061217/ea509a49/attachment.html


More information about the starlogo-users mailing list