Difference between revisions of "Tutorial"

From AgentCubes
Jump to navigation Jump to search
imported>Loon911
imported>Loon911
Line 3: Line 3:
 
== Programming Environment  ==
 
== Programming Environment  ==
  
[[Image:VAT.PNG|thumb|right|400px|This is the Programming Environment. All Conditions are on the left and all Actions are on the right. The Rule boxes are in the middle between the Conditions and the Actions.]][[Image:Rule.PNG|thumb|right|400px|Empty rules look like this.]][[Image:Rule ca.PNG|thumb|right|400px|The rules has two Conditions on the left. One Condition is pressing the right key and the last Condition is seeing if grass is right. If both those Conditions are met than the rule will execute the Action on the right. The Action on the right says that the agent should move right once.]] The Programming Environment for AgentCubesonline looks like the image on the right. In the Programming Environment you can program the agents that you have created. To program your agents you drag and drop [[:Category:AgentCubes Conditions|Conditions]] and [[:Category:AgentCubes Actions|Actions]] into the rule sections. When all your [[:Category:Age|Conditions]] are met the Programming Environment will then execute all your [[:Category:AgentCubes Actions|Actions]].  
+
[[Image:VAT.PNG|thumb|right|400px]][[Image:Rule.PNG|thumb|right|400px]][[Image:Rule ca.PNG|thumb|right|400px]] The Programming Environment for AgentCubesonline looks like the image on the right. In the Programming Environment you can program the agents that you have created. To program your agents you drag and drop [[:Category:AgentCubes Conditions|Conditions]] and [[:Category:AgentCubes Actions|Actions]] into the rule sections. When all your [[:Category:Age|Conditions]] are met the Programming Environment will then execute all your [[:Category:AgentCubes Actions|Actions]].  
  
 
=== Rules  ===
 
=== Rules  ===
Line 15: Line 15:
 
=== Actions  ===
 
=== Actions  ===
  
Actions
+
Actionsd
  
 
==== Example<br> ====
 
==== Example<br> ====

Revision as of 08:23, 20 June 2019

Welcome to AgentCubes wiki! The AgentCubes wiki was made to help you learn AgentCubes.

Programming Environment

VAT.PNG
Rule.PNG
Rule ca.PNG

The Programming Environment for AgentCubesonline looks like the image on the right. In the Programming Environment you can program the agents that you have created. To program your agents you drag and drop Conditions and Actions into the rule sections. When all your Conditions are met the Programming Environment will then execute all your Actions.

Rules

Rules contain Conditions on the left side and Actions on the right side. Users may drag the Conditions to the left side and users may drag Actions to the right side of the rule container. If all Conditions are met than all Actions will be executed.

Conditions

Conditions

Actions

Actionsd

Example