Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Sheep Farm

Live → sheep-farm-eight.vercel.app

A first-person 3D sheep farming AFK game built with vanilla JavaScript and Three.js.

Gameplay

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

Controls

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

Running Locally

ES modules require an HTTP server — opening index.html directly won't work.

python3 -m http.server 8080

Then open http://localhost:8080.

Stack

  • Three.js r158 — 3D rendering
  • Vanilla JavaScript (ES modules)
  • No build step, no dependencies beyond Three.js CDN

About

A first-person 3D sheep farming AFK game built with Three.js

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages