Det er et meget stort vindue der kommer op først, specielt hvis man er på en lille skærm. Start evt. med et lille, og så når det bliver et problem, så stil det som opgave at man selv kan sætte størrelsen op
Det vil være godt at man inden det med setup, laver noget hvor det bare handler om at flytte en enkelt agent rundt. Forstå hvad én agent kan: forward, rotate, right og så videre. Evt. hvis vi kunne tilbyde noget som https://github.com/DatalogiForAlle/AgentsPy/issues/52 hvor man kan se hvad der sker
from agents import *
model = Model("Simpel-model", 50, 50)
min_agent = Agent()
model.add_agent(min_agent)
def step(model):
min_agent.forward(10)
min_agent.right(45)
model.add_button("Step", step)
run(model)
Det er et meget stort vindue der kommer op først, specielt hvis man er på en lille skærm. Start evt. med et lille, og så når det bliver et problem, så stil det som opgave at man selv kan sætte størrelsen op
Det vil være godt at man inden det med setup, laver noget hvor det bare handler om at flytte en enkelt agent rundt. Forstå hvad én agent kan:
forward
,rotate
,right
og så videre. Evt. hvis vi kunne tilbyde noget som https://github.com/DatalogiForAlle/AgentsPy/issues/52 hvor man kan se hvad der sker