Wait for the store redraw after a purchase #35

Closed
opened 2026-10-28 10:12:34 +01:00 by Tirsvad · 0 comments
Owner

After a successful purchase the store flags and prices are stale until the game redraws, so the next choice clicks a product that is no longer affordable. Wait until the price text of the bought product changes before the store is read again; the log of MIL-004 shows the failures follow a purchase.

Phase: MIL-006

After a successful purchase the store flags and prices are stale until the game redraws, so the next choice clicks a product that is no longer affordable. Wait until the price text of the bought product changes before the store is read again; the log of MIL-004 shows the failures follow a purchase. Phase: MIL-006
Tirsvad added this to the Purchase strategy improvement milestone 2026-10-28 10:12:34 +01:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/048-the-coockie-factory#35