How nss-evening-cohort-33/modern-farm-client-qdwhhd works
Modern Farm is a small crop-growing workflow: generate a crop plan, define crop seeds, sow them into shared field state, harvest according to plant output, and display the harvest. The README also documents selling/rendering the harvest and optional storage and processing challenges; the sampled runtime shows only console output, so those optional subsystems are not mapped as implemented. Relationships reflect sampled calls and data access; the seed constructors share a directory, and the tractor reads seed exports from the main module.
Main entry points: main.js Farm Workflow · tractor.js Sowing · field.js Field State · plan.js Crop Plan
Components 8
Planning
- Crop Plan
src/scripts/plan.js
Crop Setup
- Seed Creators
src/scripts/seeds
Fieldwork
- Farm Workflow
src/scripts/main.js - Sowing
src/scripts/tractor.js - Field State
src/scripts/field.js
Harvest Output
- Harvesting
src/scripts/harvester.js
Other components
- Farm Operator
- Console Output
Connections 9
- Farm Workflow → Crop Plan: creates plan
- Farm Workflow → Seed Creators: creates seeds
- Farm Workflow → Sowing: sows plan
- Sowing → Farm Workflow: reads seeds
- Sowing → Field State: adds plants
- Sowing → Field State: reads field
- Farm Workflow → Harvesting: harvests plants
- Farm Workflow → Console Output: logs harvest
- Farm Operator → Farm Workflow: runs workflow