Commit 901967b7 authored by Hubert Denkmair's avatar Hubert Denkmair
Browse files

improve initial bot

parent 353491e8
......@@ -26,7 +26,7 @@ function step()
-- to find food in your head's surroundings, call something like that:
local food = findFood(100, 0.8)
-- this will give you all food in maximum distance of 100 around your head,
-- with a mass of at least 0.8
-- with a mass of at least 0.8 ordered by food value, decreasing
-- you can iterate over the result:
for i, item in food:pairs() do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment