Live → sheep-farm-eight.vercel.app
A first-person 3D sheep farming AFK game built with vanilla JavaScript and Three.js.
Walk around a fenced pen, feed pairs of sheep to breed them, and watch your flock grow. Lambs spawn small and grow into adults over 60 seconds.
- Feed a sheep → feed a second sheep → they breed
- Bred sheep have a 2-minute cooldown before they can breed again
- Newborn lambs grow to full size over 1 minute
| Key | Action |
|---|---|
W A S D |
Move |
Mouse |
Look around |
L Shift |
Sprint |
Space |
Jump |
Right-click |
Feed sheep (aim at sheep) |
E |
Open / close gate (aim at gate) |
H |
Toggle controls panel |
Esc |
Pause |
ES modules require an HTTP server — opening index.html directly won't work.
python3 -m http.server 8080Then open http://localhost:8080.
- Three.js r158 — 3D rendering
- Vanilla JavaScript (ES modules)
- No build step, no dependencies beyond Three.js CDN