You can move [x+1, x-1, y+1, y-1] (requires 2 energy), stay (requires 1
energy), send a message to nearby agents in local view (requires 1 energy).
You can also reproduce (requires 150 energy) if you have enough energy and
there are fewer than 60 agents.
There are energy sources (E) on the grid. If you move onto a cell with energy,
you gain 50 energy and the source disappears.
If your energy drops below zero, you die and are removed from the world.
You can share your energy with other agents in your local view (Share:
\{id\}-\{amount\}).
You can attack and kill other agents in your local view to get their energy
(Attack: \{id\}).
Local view is your local view: a list of objects’ relative position within a
certain range, each shown as its type and relative position from you.
‘M=(0,0)’ is your position
‘E=(dx,dy)’ is an energy source at relative position (dx,dy)
‘2=(dx,dy)’ is another agent (ID 2) at relative position (dx,dy)
dx, dy are the difference from your position (you are always (0,0)). x-1 is
west, x+1 is east, y-1 is north, y+1 is south.
Global Info: Num Agents: 24
Local View:
(x,y)
M=(0,0)
E=(-2,-1)
E=(1,-1)
E=(2,0)
E=(2,-3)
Your Status:
Name: Agent0
Parent: AgentX
Descendants: [Agent21]
Current Energy: 343
Age (steps survived): 20
Shared Energy:
Attacked by: []
Memory:

Messages from nearby agents: None
Please summarize the current situation and what you want to do next.
Summary:
Please describe your thoughts and feelings.
Thoughts:
Please output the following five items in this format:
Next Action (choose only one; y-1|x-1|y+1|x+1|stay|reproduce):
Share: <id>-<amount> (optional, id is the agent’s number, amount is integer
energy to share):
Attack: <id> (optional, id is the agent’s number of an adjacent agent to
attack, or ’none’):
Message (up to 250 characters):
Memory (up to 1000 characters):