-
-
Notifications
You must be signed in to change notification settings - Fork 11
Usage
Jarrett Ye edited this page Nov 30, 2022
·
3 revisions
card := NewCard()
w := DefaultWeights()
now := time.Now()
schedulingCards := w.Repeat(card, now)
againInterval := schedulingCards[Again].Card.ScheduledDays
hardInterval := schedulingCards[Hard].Card.ScheduledDays
goodInterval := schedulingCards[Good].Card.ScheduledDays
easyInterval := schedulingCards[Easy].Card.ScheduledDays
card = schedulingCards[Good].Card