Skip to content

Instantly share code, notes, and snippets.

View ilya-pirogov's full-sized avatar

Ilya Pirogov ilya-pirogov

View GitHub Profile
@ilya-pirogov
ilya-pirogov / egps.lua
Last active October 30, 2023 07:16 — forked from SquidLord/egps.lua
egps: A* pathfinding library for Minecraft ComputerCraft turtles.
-- This library provide high level turtle movement functions.
--
-- Before being able to use them, you should start the GPS with egps.startGPS()
-- then get your current location with egps.setLocationFromGPS().
-- egps.forward(), egps.back(), egps.up(), egps.down(), egps.turnLeft(), egps.turnRight()
-- replace the standard turtle functions.
-- If you need to use the standard functions, you
-- should call egps.setLocationFromGPS() again before using any egps functions.
-- Gist at: https://gist.github.com/SquidLord/4741746
{
"height":"150",
"impression_group":"6ebbc172-57c8-4f24-968e-905e1a309bda",
"analytics":[
],
"width":"100%",
"cookie_syncs":[
],