const c={checkWinCondition:l=>{const e=l.filter(t=>t&&typeof t=="object"&&t.action==="setLED"&&t.type==="led_rgb_abcd"&&t.state===!0);if(e.length!==3)return!1;const n=e.filter(t=>t.material==="C"&&t.color==="red").length,o=e.filter(t=>t.material==="B"&&t.color==="yellow").length,r=e.filter(t=>t.material==="A"&&t.color==="green").length;return n===1&&o===1&&r===1}};export{c as winConfig};
