{-# OPTIONS --cubical-compatible #-}
open import Padova2025.ProgrammingBasics.Naturals.Base
open import Padova2025.ProvingBasics.Connectives.More
module Padova2025.Recreational.Choice.Boxes.Combined (β : Set) (n : β) where
Combined
open import Padova2025.Recreational.Choice.Boxes.Base β n
import Padova2025.Recreational.Choice.Boxes.Stage1 β n as Stage1
import Padova2025.Recreational.Choice.Boxes.Stage2 β n as Stage2
import Padova2025.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