puzzle4

No preview image

1 collaborator

Default-person osnat gal (Author)

Tags

(This model has yet to be categorized with any tags)
Visible to everyone | Changeable by everyone
Model was written in NetLogo 4.1.2 • Viewed 103 times • Downloaded 19 times • Run 0 times
Download the 'puzzle4' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


WHAT IS IT?

This example sets up a box that can be placed anywhere in the world. It is one patch thick.

Comments and Questions

Please start the discussion about this model! (You'll first need to log in.)

Click to Run Model

to setup-box
  ca                                              
  ask patches[
    if ( pxcor = 1 and pycor >= 4 and pycor <= edge )
      [set pcolor yellow]                              
    if ( pxcor = edge and pycor >= 4 and pycor <= edge )
      [set pcolor yellow]                                
    if ( pycor = 4 and pxcor >= 1 and pxcor <= edge )
      [set pcolor yellow]                                 
    if ( pycor = edge and pxcor >= 1 and pxcor <= edge )
      [set pcolor red]                               
    ]
end 

There is only one version of this model, created about 13 years ago by osnat gal.

Attached files

No files

This model does not have any ancestors.

This model does not have any descendants.