Commit a1e00738 authored by Daniel Albert's avatar Daniel Albert
Browse files

Fix typos in default bot code

parent 4ddc171c
......@@ -32,7 +32,7 @@ function step()
-- distance of the food item, relative to the center of your head
local distance = item.dist
-- direction to the food item, in radiens (0..2*math.pi)
-- direction to the food item, in radians (0..2*math.pi)
-- 0 means "straight ahead", math.pi means "right behind you"
local direction = item.d
......@@ -58,7 +58,7 @@ function step()
-- distance to the center of the segment
local distance = item.dist
-- direction to the segment, in radiens (0..2*math.pi)
-- direction to the segment, in radians (0..2*math.pi)
local direction = item.d
-- radius of the segment
......
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