Tutorial

From AgentCubes
Revision as of 08:23, 20 June 2019 by imported>Loon911
Jump to navigation Jump to search

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

Programming Environment

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.
Empty rules look like this.
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 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

Actions

Example