Commit ·
89c6aca
1
Parent(s): f44164d
Log recent work in PROJECT_LOG (swap anim, PIL feedback, practice->quiz, coin trial, text pass)
Browse files94 unmodified lines959697989910094 unmodified linesgeneralise per-trial pairs and the choice lock (main task = free choice). Script split:`orders.PRACTICE_PLAN` (numbers) + `experiment_structure.PRACTICE_SCRIPT` (text), synced byan assert; four practice chests in `sprites.PRACTICE_STIM_DESIGN`.## 7. In progress — the "within-house redesign" (split build)Confirmed decisions: coin animation **D** (gain → coin flies chest→pocket + sparkle; loss →94 unmodified lines959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612794 unmodified linesgeneralise per-trial pairs and the choice lock (main task = free choice). Script split:`orders.PRACTICE_PLAN` (numbers) + `experiment_structure.PRACTICE_SCRIPT` (text), synced byan assert; four practice chests in `sprites.PRACTICE_STIM_DESIGN`.17. **Chest side-swap animation** — when the two chests trade sides they physically slide (~0.6 s):server ships a cached chest-less backdrop + one transparent layer per chest, client `playSwap`slides them. Fires on every real same-pair side-swap (main ≈ half of trials; one practice step).It is **purely cosmetic** — must NOT touch `window.accept_keys` (a key-lock race with theoutcome timer once froze the game); fires **at most once per CHOICE trial** (a wrong/blocked boxpress used to replay it); **no swoosh** on swap.18. **Practice feedback is PIL-rendered** (`_render_feedback_overlay`) so it exactly matches thein-game red directions (browsers lack DejaVu, so HTML fell back to a modern font). One flowingparagraph, **YOU / YOUR PARTNER capitalised**, tense consistent (past = the outcome, present =the lesson). `.thpfb` is now an `<img>` overlay, blinked.19. **Practice → quiz transition**: after the preference/rating a clean end card ("Great, practicedone!" + bottom "Press the space bar to continue.") — SPACE advances. The framework's "press anyarrow key to continue" toast is actively removed (sweep `.q-notification` when the end cardshows + clear again at quiz start; env `msg_display_time=1500`). No auto-advance (it made thetoast linger; reverted).20. **Coins/feedback cleared on the SPACE press** (client-side) so they can't bleed onto the nextscreen (fixed a split-second overlap onto the rating screen).21. **Text pass**: cover story reworded ("the world", "playing for two!", reordered bullets, "paidto both you and your partner"); **you/your partner bolded** throughout instructions + quiz;money is **$1 per 100 coins** (was wrongly "1000"); goal says **"figure out"** (never "learn");quiz intro = "Let's see if everything's clear!"; removed a duplicate quiz question and fixed awrong-answer bug that showed "✗ Incorrect. Correct — …"; "You're all set" mentions the PAUSEbutton; partner reveal = "You were matched with your partner (#NNNN from our communitydatabase)" with only the ✓ green.22. **COIN VISUAL — active TRIAL** (kept revertible): ONE golden coin showing "10"; on the chest twoside-by-side boxed chips "+10 YOU" / "0 YOUR PARTNER"; +10 → coin box→pocket, −10 → coinpocket→box, 0 → nothing. Old two-coin helpers left in place → clean `git revert` if unwanted.## 7. In progress — the "within-house redesign" (split build)Confirmed decisions: coin animation **D** (gain → coin flies chest→pocket + sparkle; loss →
PROJECT_LOG.md+27