Pre-Constructed Farms¶
Warning
The elements of this page are from the companion library farm-gym-games, please install it to use the pre-made farms.
Farm0 is a very easy farm, any policy that makes sense should work well.
Farm1 is a more challenging farm game with pests, bad weather and weeds.
The farms are automatically registered and can be called using
import farmgym_games
import gym
env = gym.make("Farm1-v0")
One may also import "Farm0-v0". Farm-gym is primarirly gym v0.26 compatible but one may use the environments "OldV21Farm0-v0" and "OldV21Farm0-v0" to get environments that are compatible with gym v0.21 API (remark that gym v0.26 still needs to be the version installed for farm-gym to work).
Farms¶
|
Farm0 is a very basic 1x1 farm with only one possible plant : tomato, planted in a clay ground. |
|
Farm1 is a difficult 1x1 farm with only one possible plant : beans, planted in a clay ground. |