GitHub시작하기

이 페이지는 아직 한국어로 번역되지 않아 영문 원문을 표시하고 있습니다.

더 보기

Farming rules

pkg/farming contains deterministic rules for farming and life-sim projects. Calendar advances through versioned seasons from an explicit duration, rolling to the next season after its configured number of days. CropKind and Crop model staged growth. A crop advances only when WateredDay is called, so an unwatered day cannot silently mature it. Both APIs avoid time.Now, which keeps saves, replays and headless tests reproducible.

이 페이지 편집