💻 Your Farm Code
✕ Close
// Write JavaScript to automate your farm! // Available: farm.plant(), farm.water(), farm.harvest() // Example: Plant and water all plots for (let r = 0; r < 5; r++) { for (let c = 0; c < 5; c++) { farm.plant({ row: r, col: c, crop: 'carrots' }); farm.water({ row: r, col: c }); } }
▶ Run Code
Output will appear here...
farm.plant({row, col, crop}) | farm.water({row, col}) | farm.harvest({row, col}) | farm.getCrops() | farm.isReady({row, col}) | farm.log(msg)