feat: Cards writings and balancing (M8)
This commit is contained in:
@@ -242,6 +242,7 @@ function devGame() {
|
||||
prepareWeek();
|
||||
if (s.pendingCard) answerCard(s, balance, cards, nextFloat(s) < 0.5 ? "yes" : "no");
|
||||
advanceDay(s, balance);
|
||||
if (params.has("untilAlert") && s.pending.alert) break; // stop on the first danger warning
|
||||
}
|
||||
if (cardsById.has(params.get("card"))) {
|
||||
s.pendingCard = { id: params.get("card"), day: s.day };
|
||||
|
||||
Reference in New Issue
Block a user