How it works:
- You are now viewing the Stanford forest, which has 3 robots participating.
- Click a robot to make it active. You will see that robot's Energy and O2XP at the bottom, and its inventory on the right.
- Press a number key to "drop" that item from the inventory.
- Press Enter to pick something up.
- Use the arrow keys to move.
- Each move requires energy.
- The goal is to get as much oxygen as possible.
- Each plant gives you as much oxygen as its age x health.
- There are three stages of age.
- Health goes down if the plant is not watered, signified by the background color of the plant.
- Once trees become mature, they give off seeds with probability 1/2.
Source code: ptriangles GameBoard GameObject Level Meter Plant Robot Water
Built with Processing