// Just a generic environment for testing/demo purposes. // worldRows 22 // 30 worldColumns 25 // 40 // Rewards (only for eating) plantEatingIncr 50 // 120 critterEatingIncr 20 // Punishments for different things. // These get added to a critter's strength. // Basic actions turnDecr -1 // Decrement for a turn of 1/6 of // a revolution. moveDecr -1 // Decrement for a move of one cell. stepDecr -1 // Basic decrement for each time step. hittingDecr -3 // Costs this much to hit. eatingDecr -3 // Costs this much to eat. // Interaction with other things collisionDecr -3 // Decrement for bumping into something. eatenDecr -10 // Decrement for getting (partially) // eaten. // Initial number of plants and rocks. nPlants 40 nRocks 30 // Whether user places rocks (in which case nRocks is irrelevant). // 0: rocks placed randomly // 1: user places rocks rockPlacement 0//1 // How plants are placed in the world: // 0: randomly // 1: always next to rocks // 2: never next to rocks // 3: user selects cells where plants can appear (fertile cells) plantPlacement 0//3 // Plant edibility // 0: half of plants need to be processed before eating // 1: all plants need to be processed before eating // 2: all plants are edible without processing plantEdibility 1 // Critter edibility: // 0: critters are not edible // 1: critters are edible critterEdibility 1