Skip to content

World Berry

Clifford Bohm edited this page Jul 28, 2017 · 2 revisions

THIS PAGE IS OUT OF DATA, BERRY WORLD HAS ADDITIONAL FEATURES (SUCH AS MAPS) WHICH ARE NOT SHOWN HERE

Berry World allows investigation of topics related to foraging, intensive contrast(win stay/lose shift).

Berry World defines a grid. Each space on the grid is either:

  • food (of which there are 8 types)
  • wall
  • empty

Organisms are allowed some number of world updates to move around the world and consume food. On a world update an organism may move forward one grid space, turn 45 degrees left or right or attempt to eat at their location (if there is no food at their location, this is a wasted action). An organism receives a "reward" each time they eat a food (depending on the type of food) which may be negative (poison). They pay a switch cost when every the eat a food of a different type. If an organism eats food at a location and moves off of that location, a new random food is placed at that location (users can change the replacement ratios and also allow for no replacement). Walls are impenetrable. Attempts to move into walls will have no effect.

Some of the features of berry world:
worldX and worldY
size of the world
border walls
if border walls are on, then the world is bound by walls (a closed room). If border walls are off then the world is toridle and the organism is not aware of the seams.
make random walls
add some number of random walls to the world.
foot types
number of diffrent types of food in the world (default 2, generally thought of as red and blue berries)
food rewards
The reward for each type of food is set by the user (default all food rewards are 1)
task switching cost
a task switching cost is paid every time an organism switches from eating one food source to another (default 1.4). If the reward for food1(red) and food2(blue) were one each and the task switching cost was 1.4, than if an organism ate red, red, red, blue, blue, red they would gain 1 * 5 for food and pay 1.4 * 2 for switches; resulting in a score of (5 - 2.8 =) 2.2.
allow move and eat
if true, an organism can move and eat in the same world update, if false, an organism can either move or eat in a single world update.
food replacement ratios
changes the rules for how empty grid squares are filled with food.
Clone this wiki locally