A* in JavaScript

Step 1: Draw the grid

:

Step 2: Plant a trees and move creatures

Step 3: Enable rabbit's brains