open import Padova2025-zh-TW.Recreational.Choice.Boxes.Base ℝ n
import Padova2025-zh-TW.Recreational.Choice.Boxes.Stage1 ℝ n as Stage1
import Padova2025-zh-TW.Recreational.Choice.Boxes.Stage2 ℝ n as Stage2
import Padova2025-zh-TW.Recreational.Choice.Boxes.Stage3 ℝ n as Stage3
assemble : Normalizer ℕ ℝ → TeamStrategy
assemble R p =
let open Stage1 p
in peek their-box-indices λ their-box-contents →
let open Stage2 R p their-box-contents
in peek our-box-indices λ our-box-contents →
let open Stage3 R p their-box-contents our-box-contents
in guess (pack p (succ M)) not-opened our-guess