<snapdata remixID="11046546"><project name="U3L1-Tic-Tac-Toe Setup" app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAA8lJREFUeF7t2jFLW2EUh/EjIV8iQwWrLk2mXkhalwRCljo3fi476mjBlHyPppBOqc0UyGKHujWxSwgpt4u4COfNufwvl8f5fc8Jjz/uVfRgt9vtjC8KiAocAFBUnrX/CwAQCNICAJTmZzkAMSAtAEBpfpYDEAPSAgCU5mc5ADEgLQBAaX6WAxAD0gIAlOZnOQAxIC0AQGl+lgMQA9ICAJTmZzkAMSAtAEBpfpYDEAPSAgCU5mc5ADEgLQBAaX6WAxAD0gIAlOZnOQAxIC0AQGl+lgMQA9ICAJTmZzkAMSAtAEBpfpYDEAPSAgCU5mc5ADEgLQBAaX6WAxAD0gKVBbhcLu3q+tpOjo+TA0+n3y3L3ibfzy9Op1PLsix5xmq1tmbzjfV6veQZZb5YaYD397/s7Ox9cv/b0Re7GH5Mvp9fvB2N7GI4TJ7x++HBft7dWbfbTZ5R5osAfOG7A8Di6QIQgMUre2EDAAEIwCIK5L+E8DNgEWVjZ/IE5AkYK8o5DYAAdJKJPQ5AAMaKck4DIACdZGKPAxCAsaKc0wAIQCeZ2OMABGCsKOc0AALQSSb2OAABGCvKOQ2AAHSSiT1eWYDz+dwuLz/Z4eGr5GKz2Q9rtZrJ9/OLs9nMWq1W8ozHx7/Wbrft/PxD8owyX6wsQP4WXGZ2T58NgLyCpVIBCEAAFlGAV3ARVeNn8gTkCRivyjERgAB0cIk/CkAAxqtyTAQgAB1c4o8CEIDxqhwTAQhAB5f4owAEYLwqx0QAAtDBJf4oAAEYr8oxEYAAdHCJPwpAAMarckwEIAAdXOKPVhbgYrGwm5vPdnp6klxtMvlmnU47+X5+8etkYu86neQZf1Yre310ZP1+P3lGmS9WFiD/DVNmdk+fDYC8gqVSAQhAABZRgFdwEVXjZ/IE5AkYr8oxEYAAdHCJPwpAAMarckwEIAAdXOKPAhCA8aocEwEIQAeX+KMABGC8KsdEAALQwSX+KAABGK/KMRGAAHRwiT8KQADGq3JMBCAAHVzij1YW4Hq9tvF4vFexzWZj9Xp9rxnb7dZqtdpeMwaDgTUajb1mlPVyZQGWNTif63kBACJCWgCA0vwsByAGpAUAKM3PcgBiQFoAgNL8LAcgBqQFACjNz3IAYkBaAIDS/CwHIAakBQAozc9yAGJAWgCA0vwsByAGpAUAKM3PcgBiQFoAgNL8LAcgBqQFACjNz3IAYkBaAIDS/CwHIAakBQAozc9yAGJAWgCA0vwsByAGpAUAKM3PcgBiQFoAgNL8LAcgBqQFACjNz3IAYkBa4B+eYGXkHK2btAAAAABJRU5ErkJggg==</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="true" hyperops="true" codify="false" inheritance="false" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAADoVJREFUeF7t1cEJAAAIxDDdf2m3sJ+4wEEQuuMIECBAgACBd4F9XzRIgAABAgQIjAB7AgIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECByxcQFpoRMBzwAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><sprite name="Square" idx="1" x="0" y="210" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="false" costume="1" color="80,80,80,1" pen="tip" id="8"><costumes><list id="9"><item><costume name="Empty" center-x="26" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAAMdJREFUaEPtmsENglAQBZcm8EqsxFok36KM1sIVYjjYkYmJBbzLBH+G++SxMxwZqrNnqKpLVS093DVN5/170HVuy/Nx/+ub1u1Vt9beHnTUjBY6apnfe1nIQrABPzlYeDxnoVgZDFgIFh7PWShWBgMWgoXHcxaKlcGAhWDh8ZyFYmUwYCFYeDxnoVgZDFgIFh7PWShWBgMWgoXHcxaKlcGAhWDh8ZyFYmUwYCFYeDxnoVgZDFgIFh7PWShWBgN9F+rlj8ZxPG0fybadhnLD9WYAAAAASUVORK5CYII=" id="10"/></item><item><costume name="X" center-x="26" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAAgVJREFUaEPt2jtPwlAUB/DDBiERZ6KGkS9AYHQiBqkJ8QEoEIzI6nNwNOJmjN/CsDk6qpvGBBcfq69EHXEjLqYkNaJUzr33nN4WYWvSx/3df3vDP60PACKGkdkKBv1+8Piv1fq49gHAeCwWPy6VFz0Nent9gatG46ENymbzR/X64bCXAzq/uITdWm0Acm2I/zOhx6dnGBsdcVUqdmNCJbRUqUI4HIbazrYrUDe3d2Ck07C3fwDTmamOMaFAzeY7VJarEI1GtaMszEKh2HUsKJA5BW5A9cKY40SDdKMwGGGQLhQWIwVyGiWCkQY5hRLFKIG4UTIYZRAXShZDAqJGqWDIQFQoVQwpSBVFgSEHyaKoMCwgURQlhg2ERVFjWEG9UBwYdpAdigvjCOgnKpfLtsuZXZ/paGsSG0L1QeL8X4eYfapQLMHZ6QmsrK6xFUXHQOZtNplKQSAQgJnZOW+Dvj8zmxvrrHWePaFuCwBnnWcF/bWacaHYQJilmQPFAsJgrOWPGkUOEsFwoEhBMhhqFBlIBUOJIgFRYKhQyiBKDAVKCcSBUUVJgzgxKigpkBMYWZQwyEmMDEoIpAMjikKDdGJEUCiQGzBYFAqUTE5APJFga5mi1d76Q5vLz8u9NHbja30TFQoN/ZoLVEKiM6hz/wFI5+xjrt3fCfXbB4ARAChjYvXAPvefLoh8QmAwO/oAAAAASUVORK5CYII=" id="11"/></item><item><costume name="O" center-x="26" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAABGBJREFUaEPtmktME1EUhv+ulcdKFwgiCtTHwhaMbhREQ4zgK2oUfMSoBSUuJEbjhlLKxiAVF8YHxcSoQPERH2BiiIrowgfQaiKIkmgEFd3x0DXmjLlJS2c6d2buFEQmabrovWfOd/4z5957phZMscsCIBtA21TgSk5O6ZKA9h9wtF2uq/2nmV6+6kCRw/F2GmiyyjitEK8yrY+ewO8PoO/jB7Q9eYzPnz+FTd22fQcSEhKw1GZHzuosJCXO4TWvOE6oQv0DX+H11qH++jVkZC6TPna7Ddb0NFln6ea9Hz7iTcCP+/fuSuN3FhRi65aNusGEAAWDFB0qQWHBDl3Rvn3nPnyNDRgeGkLx4RJdYIaBrlyth9vlBIEcLnYgLi5Wd3TZRErX6qoqJCYlobzcqSk4uoGGh0dQ7qpAT3c33JWVWLF8mWGQYANk/8IlL2ovnsfFWi9y1+Zw2dcFRDc76ChCbGwszniqhaii5C2l4fFjpTjtqeFKQc1ADMZqtaLS7eKKmtFB3T3vsSE/nwtKM9CBg0WIiYnB2RqPUT81zSeoJYsX4cXL1xHTWxPQufOX0P60DXXeWlPTTC39AoGA4v25gViE3nX3YPGihZqiK3Lw0dJjkjmlDOEGolSz2TNwpKRYpH+abdEzbLPZ0NDok009LiAaVFiwE5Gk1uyZgQmU+gF/F+SOOlxAJPOC1LQJV4fFgKnU3NISlv6qQLStmZuUiKGh4QkpBEpCnqry4Pev0bClQxWItja0eYx2mVbLSCpSpUdL0dr6MGSoKhCl28pVWVyrtJoTon9PSZmP8WmnCiQ3SbRjeu3JBVsVyGKxYGxsTO89TZ1H1Y6u4KUkIhD96PF4cPOGz1TH9BqnY0aTzxdSvlWBvF6vbL3X64TIeeT8eP+mgURG2KgtzQop1XqjjoiaT4e/58/aQ9bI/6vKUSRzc9eZ0jMQoRKdANbn5Ycs+qoKlTldmL8gFfv27hLhg1AbtOg/bW8P6QqpArFe2WRbi1irS/Nejrbq8fFx+NI/oKk/JlQKGWOUOTNmxuDkib8nWHapKkQDlSab7bSS/UhB5gKiM1F2VtakOrH+/DEo20bjAmIq0Xe0enFK6rADp9IjwA3EVFJqTkQr/ahUp6alhz07mp4hNpi1ZSeqWULH7q7Ojoh9QW6FGBQViN7e3qg3G1kw5Rojmqvc+HSKNhQvDPmpWaHxSrlc5aZ2UulUeqa6Kqx3oPTM6gYig5TT9P7G6XIL3xpREaqocGOgvx81Z2u4g2YIiEnsLCuT3rY5HA7DL75o0bxW3yipouetoGEgggp2YnXOmrAdME9JJ0UaGpskxcmG3uAIAWIOE9ide8140NIsldeNmzZLLeTMDLs0ZKE1Xeq+0sFxdPQXvn0fRF9fnzSWPrt270FeXp4hlYUCBStBEe/o9EsO038VRkZGcOtmkzRk3rwUSQV6ccaARb2jNQ2IJ83MGDMNZEZURdqc2gpNlX80zpo1+9UfMU6JpNqpaVIAAAAASUVORK5CYII=" id="12"/></item><item><costume name="Red" center-x="26" center-y="24.5" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAzCAYAAADYfStTAAAAAXNSR0IArs4c6QAABSxJREFUaEPtmn9MW1UUx78zkRLnyoQMKCOBbqLOls4B25hhgrJJBxswF6dzhDGQBQbaP4xzLBGdBHEZmzoEx/ixHyGRAItto0Odpd3KYDBWRpGfZoAKq1CLzKgZGhNza2qAlva9vvdot6z/9t5z7ud8z73vvHPfIgAxa9aEqZOSEnE3/34aHYP2srZzEQFKz8hUV1Weupt5cLXtGvZlZnbdB3JXGTlT6ObQMAwGA0wmE0aGh5Dy15RVDFTBIvCXLIG/QABhcDC8vPiM48Qq0O3bv+G6TodufRc29OtgMPwMk+kXjAwPI+XvX62BgkTg8/nw9xdAKAxCh+RpiMWheHLV406DsQJkAWnWarHqqgrder1NAEerVAWJIA4NxUhMAsIj1joFxhjoRpceSoWCEchc0At+KzG+dRciI9chJjqaVio6DXTnzjQ0Gg0ufqvC4tpKpxSxpxiB4nt5YXRzMnanpGDlCqEjgc3/OwVEYOrrG/DA2VIYJyYQP36TkjNnBtU8+AimdqQiKyubUgrSBrLA/F5ShNgfepxZI+05BGp868uQyWQOoWgD1dU1wFT87oLBWOgJ1EBUHI4VFyMwcPm8QaEF1H6tAydOlCD/m3O0o8zGhJI/AM/sAygoeA+enjybJikDTRiNSEtLxzbj8IKrM3PlRKmw0jNInqeIpgxUWVWNLlkGXlvMRqyZ2ZCFxaOi4pTN1KMENDo6htQ9e3DyOxWzlbA0m6jkd+h95OzPsrJICaiy6jR+fOcN1p81TPiyxLGorf0MvsuWzTLjEIiUNXFSKc4NtTLxz/pcopLoeDle2vkiPaBLl5vREL/RLfbO3KgUJWTgdHUlPaAPjhTjheNvsh5hNgyS8ugVVeustHOYclu2JOBj3QU2/HNiw1CvRfQzUf/bdgiUH+jtVofB3Ki0HK1BWupuakDkuP4zPJCTyLJl9Oy+fBQWHKYGROTzTlzHlm9O7BzZlomZnSq7KXcfiBMN7BulpZCuswsPS59ywTKpu/xwRw4+LfuE2h4iFfaU2Je6dReMrM0tRP7bh6gBkVEfSR7l9BWbaQxoHdvE2d70V5H3ZRVTv5zNNynbsWH9WuoKlZaVY/Nh6zKdsxXSMExKn71a3aw2l8NKofOGHtVRq92yOD22PRvlJ8voFaekyxMXF4eK/ks0Ysf9UNJfkNY1IiFeSg+IjP5crkRnbppb1XSZT0RDqVRadVUdphwBIi955BX8aKuc+9BT8EDUea5Gge3J1reNlIDcTaX9kudxvqHeZs+bMhBR6cBbB+H3Ra1LU4/cUIQUlWBT7LM2taQMRGb39g0gL+8gpLe+d0lv7r9uTyEy0tOZNxot4WhSa8yNekmHZkGhCMw/aTmQyV636vTMlIqWQq6CogpD1ucUEJlIlJIrlFjacIbTPUWqAWPiLofKWILtNBAx0HylBQq5Asu/Ps96AUtUIdeSEwk7kZScaDfNGKfcTAOk79DY+BUCL8rR2nKFsVoEJFgoRF/kJiQlJyEiPHzeA8DWMcdIIYtBUh7pu7uhbmpCRHcbBgcHaB8YBCRUIkG7aD2iNkYhPCzM7j3QfM9fVoBmgvUPDGBwcBAR+haM3TJg0jRpvtqfnp5Gb2+Puci1qMDj8eDt7YOAAAE0QhFCJavxWEiIUyCs7CF7VQp5EJuBJk3mjy8IUF9vD3IfAmo8liJYuAI8Dw94+/ggQCBgBMHqHqJQei3oEFZTbkFXPo+zexvoXvkAUN3UdN38vRwAtTukDdM1+Pr6tf0LfkRrkR6Ez5oAAAAASUVORK5CYII=" id="13"/></item><item><costume name="Yellow" center-x="26" center-y="25" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAzCAYAAADYfStTAAAAAXNSR0IArs4c6QAAA4VJREFUaEPtml9IU3EUx7++1JNpLwapS9YfSHswKxIK/FONQAhEBLXC0K6mCCmS1MPmUiixbBZitilkZhYmozSIUa4eIs1y9TCzRkEq9RjuMYLiCAt3vdv987t3u+n2ut/v/H6f8z2/8zv33BsHIBeAG6vgl5ZmfBdHQBWVnLuv1/5fI01MTqGK4z7EgPQqY0whqcq4no1jetoD3+dPcI8/x9dXCyumFp8tRHJyMjJ3ZyE/LweG1BSp5kOOU1WhufkFOBy9GLw7IAggtlsCLCktQ1HhMbGh2gKxgvB3ZyrPQ3VNrSIwZoVu3xlEi9WiSJFwMhBUqsGA5maLrFBUDLS46Eez9SJmvF64+rW7j40HUtBjd8B0OF9SGCoCIpjTXBWGrzslLcI6iKCudNgkhaBsoEjDBJwhFUo2UOXpKvS19rM6XdH8uM2/8HriDbL371Mny3V138LLF+6IhZrQrkkpj8eDhIQNglCSFfLOfMSujHT8+b5OkXfVnFTfXodOWwcbUDRDjb9zUune0H3B0JOkEA0qKy1R/a5hUa3SXA6hRx1JQPUNjehs6mJZX/W5pNLo2Bgy0ncG2RYForJmiyFVF2eH7xXzzQtobbHKA6LS5tSRCtU9rIZBKo9crqfygPQYbssJvD/fB4WdaMgZjVt1lQz4yo5MDAeVRKJA+LFejejQzEaX8wbqaqv/2Q8LRH9mGw5qthk1DPPTdwxIDa+qaWNtK0QFacbGTDUdqrotfqG6trIcudNkOqppz4BVMtn3kNliRWvNZdZ1NZs/9/tLUFdINORGnI9RlF2s2YZYDCuq5agpkpiYoMtqu23gEs43NcorTmm0HsOOGibf5uZXNCFFQ46A6JkoNydHV0Wq0LMQ7VUSkN5UCqWOLCA9qSR0dgIHSbJCNIEy3rnGhqiGHr1y6XXY2ftyAQ9QgpidnY1KszFUY2R5mpOlUDShpMDIOkP8CzCSSkmFYQKiyW3tHbD3dGt6pqgasHXaVvTfQlUYikKOH7MWs1n1ApZUqTpTi5pqLmQCEIJiBiKjVB4NDA7h2tV2ZrUIJC//EDiOC/vaRDOFlhsmMOejUTwZG5WdBQnk+ImTKCgoUASi6B6SUxnTRTz1dho+n2/pWwW/34+Hww+WityACvHx8di2fQf27sligmBO23LAIj1WlTMU6U2HWy8GpCc1RNP2avmiMSlp0+RfgcT0lE5pczkAAAAASUVORK5CYII=" id="14"/></item></list></costumes><sounds><list struct="atomic" id="15"></list></sounds><blocks></blocks><variables><variable name="clone number"><l>9</l></variable><variable name="row number"><l>9</l></variable></variables><scripts><script x="289" y="80.63333333333344"><custom-block s="%s wins?"><l></l></custom-block></script><script x="30" y="10"><block s="receiveGo"></block><block s="doStopThis"><l><option>other scripts in sprite</option></l></block><block s="hide"></block><block s="doAsk"><l>How many players? (0, 1, or 2?)</l></block><block s="doUntil"><block s="reportListContainsItem"><block s="reportNewList"><list><l>0</l><l>1</l><l>2</l></list></block><block s="getLastAnswer"></block></block><script><block s="doAsk"><l>How many players? (0, 1, or 2?)</l></block></script></block><block s="doSetVar"><l>Number of Players</l><block s="getLastAnswer"></block></block><block s="doAsk"><l>Game type A: Tic-Tac-Toe B: Connect 4 (capitalize)</l></block><block s="doUntil"><block s="reportListContainsItem"><block s="reportNewList"><list><l>A</l><l>B</l></list></block><block s="getLastAnswer"></block></block><script><block s="doAsk"><l>Game type A: Tic-Tac-Toe B: Connect 4 (capitalize)</l></block></script></block><block s="doSetVar"><l>Game Type</l><block s="getLastAnswer"></block></block><block s="show"></block><block s="doSwitchToCostume"><l>Empty</l></block><block s="doSetVar"><l>clone number</l><l>0</l></block><block s="doIfElse"><block s="reportEquals"><block var="Game Type"/><l>A</l></block><script><block s="gotoXY"><l>-50</l><l>50</l></block><custom-block s="make Tic Tac Toe Board"></custom-block><block s="doSetVar"><l>board</l><block s="reportNewList"><list><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l></list></block></block></script><script><block s="gotoXY"><l>-150</l><l>125</l></block><custom-block s="make Connect 4 Board"></custom-block><block s="doSetVar"><l>board</l><block s="reportNewList"><list><block s="reportNewList"><list><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l></list></block><block s="reportNewList"><list><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l></list></block><block s="reportNewList"><list><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l></list></block><block s="reportNewList"><list><l></l><l></l><l></l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l></l><l></l><l></l></list></block><block s="reportNewList"><list><l></l><l></l><l></l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l></l><l></l><l></l></list></block><block s="reportNewList"><list><l></l><l></l><l></l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l></l><l></l><l></l></list></block><block s="reportNewList"><list><l></l><l></l><l></l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l></l><l></l><l></l></list></block><block s="reportNewList"><list><l></l><l></l><l></l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l></l><l></l><l></l></list></block><block s="reportNewList"><list><l></l><l></l><l></l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l></l><l></l><l></l></list></block><block s="reportNewList"><list><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l></list></block><block s="reportNewList"><list><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l></list></block><block s="reportNewList"><list><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l></list></block></list></block></block></script></block><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doIf"><block s="reportEquals"><block var="Number of Players"/><l>0</l></block><script><block s="doSend"><l>X&apos;s turn</l><l>Square</l></block></script></block></script><script x="195" y="55.63333333333344"><custom-block s="draw?"></custom-block></script><script x="474" y="25.799999999999955"><block s="receiveInteraction"><l><option>clicked</option></l></block><block s="doIf"><block s="reportEquals"><block s="getCostumeIdx"></block><l>1</l></block><script><block s="doIfElse"><block var="X&apos;s turn?"/><script><block s="doIf"><block s="reportEquals"><block var="Number of Players"/><l>1</l></block><script><block s="doSend"><l>O&apos;s turn</l><l>Square</l></block></script></block><block s="doIfElse"><block s="reportEquals"><block var="Game Type"/><l>A</l></block><script><block s="doSwitchToCostume"><l>X</l></block><block s="doReplaceInList"><block var="clone number"/><block var="board"/><l>X</l></block><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><custom-block s="results"></custom-block></script><script><block s="doIf"><block s="reportNot"><block s="reportEquals"><block s="reportListItem"><block var="clone number"/><block s="reportListItem"><block s="reportSum"><block var="row number"/><l>1</l></block><block var="board"/></block></block><l>Empty</l></block></block><script><block s="doSwitchToCostume"><l>Red</l></block><block s="doReplaceInList"><block var="clone number"/><block s="reportListItem"><block var="row number"/><block var="board"/></block><l>Red</l></block><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><custom-block s="Connect 4 results"></custom-block></script></block></script></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="Game Type"/><l>A</l></block><script><block s="doSwitchToCostume"><l>O</l></block><block s="doReplaceInList"><block var="clone number"/><block var="board"/><l>O</l></block><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><custom-block s="results"></custom-block></script><script><block s="doIf"><block s="reportNot"><block s="reportEquals"><block s="reportListItem"><block var="clone number"/><block s="reportListItem"><block s="reportSum"><block var="row number"/><l>1</l></block><block var="board"/></block></block><l>Empty</l></block></block><script><block s="doSwitchToCostume"><l>Yellow</l></block><block s="doReplaceInList"><block var="clone number"/><block s="reportListItem"><block var="row number"/><block var="board"/></block><l>Yellow</l></block><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><custom-block s="Connect 4 results"></custom-block></script></block></script></block></script></block></script></block></script><script x="998" y="24.799999999999955"><block s="receiveMessage"><l>O&apos;s turn</l></block><block s="doWait"><l>1</l></block><block s="doUntil"><block var="X&apos;s turn?"/><script><block s="doTellTo"><block s="reportListItem"><l><option>any</option></l><block s="reportGet"><l><option>clones</option></l></block></block><block s="reifyScript"><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>1</l></block><block s="reportOr"><block s="reportEquals"><block var="Game Type"/><l>A</l></block><block s="reportNot"><block s="reportEquals"><block s="reportListItem"><block var="clone number"/><block s="reportListItem"><block s="reportSum"><block var="row number"/><l>1</l></block><block var="board"/></block></block><l>Empty</l></block></block></block></block><script><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSwitchToCostume"><block s="reportIfElse"><block s="reportEquals"><block var="Game Type"/><l>A</l></block><l>O</l><l>Yellow</l></block></block><block s="doReplaceInList"><block var="clone number"/><block s="reportIfElse"><block s="reportEquals"><block var="Game Type"/><l>A</l></block><block var="board"/><block s="reportListItem"><block var="row number"/><block var="board"/></block></block><block s="reportGetImageAttribute"><l><option>name</option></l><l><option>current</option></l></block></block><block s="doIf"><block s="reportLessThan"><block var="Number of Players"/><l>1</l></block><script><block s="doSend"><l>X&apos;s turn</l><l>Square</l></block></script></block><block s="doIfElse"><block s="reportEquals"><block var="Game Type"/><l>A</l></block><script><custom-block s="results"></custom-block></script><script><custom-block s="Connect 4 results"></custom-block></script></block></script></block></script><list></list></block><list></list></block></script></block></script><script x="1001" y="544.4666666666665"><block s="receiveMessage"><l>X&apos;s turn</l></block><block s="doWait"><l>1</l></block><block s="doUntil"><block s="reportNot"><block var="X&apos;s turn?"/></block><script><block s="doTellTo"><block s="reportListItem"><l><option>any</option></l><block s="reportGet"><l><option>clones</option></l></block></block><block s="reifyScript"><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>1</l></block><block s="reportOr"><block s="reportEquals"><block var="Game Type"/><l>A</l></block><block s="reportNot"><block s="reportEquals"><block s="reportListItem"><block var="clone number"/><block s="reportListItem"><block s="reportSum"><block var="row number"/><l>1</l></block><block var="board"/></block></block><l>Empty</l></block></block></block></block><script><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doSwitchToCostume"><block s="reportIfElse"><block s="reportEquals"><block var="Game Type"/><l>A</l></block><l>X</l><l>Red</l></block></block><block s="doReplaceInList"><block var="clone number"/><block s="reportIfElse"><block s="reportEquals"><block var="Game Type"/><l>A</l></block><block var="board"/><block s="reportListItem"><block var="row number"/><block var="board"/></block></block><block s="reportGetImageAttribute"><l><option>name</option></l><l><option>current</option></l></block></block><block s="doSend"><l>O&apos;s turn</l><l>Square</l></block><block s="doIfElse"><block s="reportEquals"><block var="Game Type"/><l>A</l></block><script><custom-block s="results"></custom-block></script><script><custom-block s="Connect 4 results"></custom-block></script></block></script></block></script><list></list></block><list></list></block></script></block></script><script x="316" y="159.50000000000026"><custom-block s="%s wins Connect 4?"><l>Red</l></custom-block></script></scripts></sprite><watcher scope="Square" s="xPosition" style="normal" x="1.4325443723064382" y="1.432544372307433" color="74,108,212" hidden="true"/><watcher scope="Square" s="yPosition" style="normal" x="1.4325443723064382" y="4.44088784066188" color="74,108,212" hidden="true"/><watcher var="X&apos;s turn?" style="normal" x="1.4325443723064382" y="7.449231309016341" color="243,118,29" hidden="true"/><watcher scope="Square" s="reportShown" style="normal" x="1.4325443723064382" y="24.210001038030924" color="143,86,227" hidden="true"/><watcher var="Number of Players" style="normal" x="1.4325443723064382" y="27.64810781807762" color="243,118,29" hidden="true"/><watcher var="winning triples" style="normal" x="3.3091288600335247" y="11.356727697483883" color="243,118,29" hidden="true"/><watcher var="Game Type" style="normal" x="2.0520833333339397" y="33.51736111111116" color="243,118,29" hidden="true"/><watcher scope="Square" var="clone number" style="normal" x="-1.71071006492366" y="60.58414313741929" color="243,118,29" hidden="true"/><watcher scope="Square" var="row number" style="normal" x="-0.8224374454257486" y="34.177562554573285" color="243,118,29" hidden="true"/><watcher var="board" style="normal" x="3.9526112185685633" y="13.476305609284339" color="243,118,29" hidden="true"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="label %&apos;text&apos; of size %&apos;size&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">LABEL will stamp text on the stage at the given font size. The direction of the text is the direction the sprite is facing, and color will match the pen color.</comment><header></header><code></code><translations></translations><inputs><input type="%txt">Hello!</input><input type="%n">12</input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>text</l><l>size</l></list><l>var stage = this.parentThatIsA(StageMorph),&#xD;    context = stage.penTrails().getContext(&apos;2d&apos;),&#xD;    rotation = radians(this.direction() - 90),&#xD;    trans = new Point(&#xD;      this.center().x - stage.left(),&#xD;      this.center().y - stage.top()&#xD;    ),&#xD;    isWarped = this.Warped,&#xD;    len,&#xD;    pos;&#xD;&#xD;if (isWarped) {endWarp(); }&#xD;context.save();&#xD;context.font = size + &apos;px monospace&apos;;&#xD;context.textAlign = &apos;left&apos;;&#xD;context.textBaseline = &apos;alphabetic&apos;;&#xD;context.fillStyle = this.color.toString();&#xD;len = context.measureText(text).width;&#xD;trans = trans.multiplyBy(1 / stage.scale);&#xD;context.translate(trans.x, trans.y);&#xD;context.rotate(rotation);&#xD;context.fillText(text, 0, 0);&#xD;context.translate(-trans.x, -trans.y);&#xD;context.restore();&#xD;pos = new Point(&#xD;  len * Math.sin(radians(this.direction())),&#xD;  len * Math.cos(radians(this.direction())));&#xD;pos = pos.add(new Point(this.xPosition(), this.yPosition()));&#xD;this.gotoXY(pos.x, pos.y, false);&#xD;this.changed();&#xD;if (isWarped) {this.startWarp(); }&#xD;stage.changed();</l></block><list><block var="text"/><block var="size"/></list></block></script></block-definition><block-definition s="map %&apos;function&apos; over %&apos;lists&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%mult%l"></input></inputs><script><block s="doWarp"><script><block s="doDeclareVariables"><list><l>mapone</l><l>mapmany</l></list></block><block s="doSetVar"><l>mapone</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="evaluate"><block var="mapone"/><list><block s="reportCDR"><block var="data"/></block></list></block></block></block></script><list><l>data</l></list></block></block><block s="doSetVar"><l>mapmany</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportListItem"><l>1</l><block var="data lists"/></block></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportListItem"><l>1</l><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></block><block s="evaluate"><block var="mapmany"/><list><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportCDR"><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></list></block></block></block></script><list><l>data lists</l></list></block></block><block s="doIfElse"><custom-block s="empty? %l"><block s="reportCDR"><block var="lists"/></block></custom-block><script><block s="doReport"><block s="evaluate"><block var="mapone"/><list><block s="reportListItem"><l>1</l><block var="lists"/></block></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="mapmany"/><list><block var="lists"/></list></block></block></script></block></script></block></script></block-definition><block-definition s="empty? %&apos;data&apos;" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportEquals"><block var="data"/><block s="reportNewList"><list></list></block></block></block></script></block-definition><block-definition s="keep items such that %&apos;pred&apos; from %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%predRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doIfElse"><block s="evaluate"><block var="pred"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><script><block s="doReport"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script><script><block s="doReport"><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></script></block></script></block></script></block-definition><block-definition s="combine with %&apos;function&apos; items of %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="data"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="data"/></block></block></script></block><block s="doReport"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="combine with %repRing items of %l"><block var="function"/><block s="reportCDR"><block var="data"/></block></custom-block></list></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; then %&apos;true&apos; else %&apos;false&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%b"></input><input type="%anyUE"></input><input type="%anyUE"></input></inputs><script><block s="doIfElse"><block var="test"/><script><block s="doReport"><block s="evaluate"><block var="true"/><list></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="false"/><list></list></block></block></script></block></script></block-definition><block-definition s="for %&apos;i&apos; = %&apos;start&apos; to %&apos;end&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%n">1</input><input type="%n">10</input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>step</l><l>tester</l></list></block><block s="doIfElse"><block s="reportGreaterThan"><block var="start"/><block var="end"/></block><script><block s="doSetVar"><l>step</l><l>-1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportLessThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script><script><block s="doSetVar"><l>step</l><l>1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportGreaterThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script></block><block s="doSetVar"><l>i</l><block var="start"/></block><block s="doUntil"><block s="evaluate"><block var="tester"/><list></list></block><script><block s="doRun"><block var="action"/><list></list></block><block s="doChangeVar"><l>i</l><block var="step"/></block></script></block></script></block-definition><block-definition s="join words %&apos;words&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%mult%txt"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="words"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="words"/></block></block></script></block><block s="doIf"><block s="reportEquals"><l></l><block s="reportListItem"><l>1</l><block var="words"/></block></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></block></script></block><block s="doIf"><block s="reportEquals"><l></l><block s="reportListItem"><l>2</l><block var="words"/></block></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="words"/></block><block s="reportCDR"><block s="reportCDR"><block var="words"/></block></block></block></custom-block></block></script></block><block s="doReport"><block s="reportJoinWords"><list><block s="reportListItem"><l>1</l><block var="words"/></block><l> </l><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></list></block></block></script></block></script><scripts><script x="229.00000300000002" y="196.77778077777774"><block s="reportJoinWords"><list><l></l><l></l></list></block></script></scripts></block-definition><block-definition s="list $arrowRight sentence %&apos;data&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doReport"><custom-block s="join words %mult%txt"><block var="data"/></custom-block></block></script></block></script></block-definition><block-definition s="sentence $arrowRight list %&apos;text&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportTextSplit"><block var="text"/><l><option>whitespace</option></l></block></block></script></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%cs"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doRun"><block var="action"/><list></list></block></script><list><l>cont</l></list></block></block><custom-block s="ignore %s"><l>3</l></custom-block></script></block-definition><block-definition s="throw %&apos;cont&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input></inputs><script><block s="doRun"><block var="cont"/><list></list></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;value&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%anyUE"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doReport"><block s="evaluate"><block var="value"/><list></list></block></block></script><list><l>cont</l></list></block></block></script></block-definition><block-definition s="throw %&apos;tag&apos; %&apos;value&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input><input type="%s"></input></inputs><script><block s="doRun"><block var="tag"/><list><block var="value"/></list></block></script></block-definition><block-definition s="for each %&apos;item&apos; of %&apos;data&apos; %&apos;action&apos;" type="command" category="lists"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%l"></input><input type="%cs"></input></inputs><script><block s="doUntil"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doSetVar"><l>item</l><block s="reportListItem"><l>1</l><block var="data"/></block></block><block s="doRun"><block var="action"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="doSetVar"><l>data</l><block s="reportCDR"><block var="data"/></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; do %&apos;action&apos; and pause all $pause-1-255-220-0" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%boolUE"></input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>breakpoint</l></list></block><block s="doIf"><block s="evaluate"><block var="test"/><list></list></block><script><block s="doSetVar"><l>breakpoint</l><block var="test"/></block><block s="doShowVar"><l>breakpoint</l></block><block s="doRun"><block var="action"/><list></list></block><block s="doPauseAll"></block><block s="doHideVar"><l></l></block></script></block></script></block-definition><block-definition s="word $arrowRight list %&apos;word&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportTextSplit"><block var="word"/><l><option>letter</option></l></block></block></script></block></script></block-definition><block-definition s="ignore %&apos;x&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="tell %&apos;sprite&apos; to %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">Sprite</input><input type="%cs"></input></inputs><script><block s="doRun"><block s="reportAttributeOf"><block var="action"/><block var="sprite"/></block><list></list></block></script></block-definition><block-definition s="ask %&apos;sprite&apos; for %&apos;expression&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">Sprite</input><input type="%repRing"></input></inputs><script><block s="doReport"><block s="evaluate"><block s="reportAttributeOf"><block var="expression"/><block var="sprite"/></block><list></list></block></block></script></block-definition><block-definition s="list $arrowRight word %&apos;list&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportJoinWords"><block var="list"/></block></block></script></block></script></block-definition><block-definition s="make ONE row" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><l>3</l><script><block s="doChangeVar"><l>clone number</l><l>1</l></block><block s="createClone"><l><option>myself</option></l></block><block s="changeXPosition"><l>50</l></block></script></block></script></block-definition><block-definition s="make Tic Tac Toe Board" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doFor"><l>column</l><l>1</l><l>3</l><script><custom-block s="make ONE row"></custom-block><block s="changeXPosition"><l>-150</l></block><block s="changeYPosition"><l>-50</l></block></script></block><block s="gotoXY"><l>0</l><l>210</l></block></script></block-definition><block-definition s="%&apos;x/o&apos; wins?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doSetVar"><l>winning triples</l><block s="reportNewList"><list><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block><block s="reportNewList"><list><l>3</l><l>5</l><l>7</l></list></block><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block></list></block></block><block s="doForEach"><l>triple</l><block var="winning triples"/><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>1</l><block var="triple"/></block><block var="board"/></block><block var="x/o"/></block><block s="reportAnd"><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>2</l><block var="triple"/></block><block var="board"/></block><block var="x/o"/></block><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>3</l><block var="triple"/></block><block var="board"/></block><block var="x/o"/></block></block></block><script><block s="doStopThis"><l><option>all but this script</option></l></block><block s="doSayFor"><block s="reportJoinWords"><list><block var="x/o"/><l> wins!</l></list></block><l>5</l></block><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></block><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block-definition><block-definition s="draw?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportAnd"><block s="reportNot"><block s="reportOr"><custom-block s="%s wins?"><l>X</l></custom-block><custom-block s="%s wins?"><l>O</l></custom-block></block></block><block s="reportNot"><block s="reportListContainsItem"><block var="board"/><l>Empty</l></block></block></block><script><block s="doSayFor"><l>Draw!</l><l>2</l></block><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block-definition><block-definition s="results" type="command" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block s="reportOr"><custom-block s="%s wins?"><l>X</l></custom-block><custom-block s="%s wins?"><l>O</l></custom-block></block><script><block s="doStopThis"><l><option>all but this script</option></l></block></script><script><block s="doIf"><block s="reportNot"><block s="reportListContainsItem"><block var="board"/><l>Empty</l></block></block><script><block s="doSayFor"><l>Draw!</l><l>2</l></block><block s="doStopThis"><l><option>all but this script</option></l></block></script></block></script></block></script></block-definition><block-definition s="make ONE connect 4 row" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>clone number</l><l>3</l></block><block s="doRepeat"><l>7</l><script><block s="doChangeVar"><l>clone number</l><l>1</l></block><block s="createClone"><l><option>myself</option></l></block><block s="changeXPosition"><l>50</l></block></script></block></script></block-definition><block-definition s="make Connect 4 Board" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doFor"><l>row</l><l>4</l><l>9</l><script><block s="doSetVar"><l>row number</l><block var="row"/></block><custom-block s="make ONE connect 4 row"></custom-block><block s="changeXPosition"><l>-350</l></block><block s="changeYPosition"><l>-50</l></block></script></block><block s="gotoXY"><l>0</l><l>-210</l></block></script></block-definition><block-definition s="%&apos;r/y&apos; wins Connect 4?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doFor"><l>i</l><l>0</l><l>3</l><script><block s="doIf"><block s="reportOr"><block s="reportOr"><block s="reportEquals"><block s="reportListItem"><block s="reportNumbers"><block s="reportDifference"><block var="clone number"/><block var="i"/></block><block s="reportSum"><block var="clone number"/><block s="reportDifference"><l>3</l><block var="i"/></block></block></block><block s="reportListItem"><block var="row number"/><block var="board"/></block></block><block s="reportNewList"><list><block var="r/y"/><block var="r/y"/><block var="r/y"/><block var="r/y"/></list></block></block><block s="reportEquals"><block s="reportNewList"><list><block s="reportListItem"><block var="clone number"/><block s="reportListItem"><block s="reportDifference"><block var="row number"/><block s="reportDifference"><block var="i"/><l>0</l></block></block><block var="board"/></block></block><block s="reportListItem"><block var="clone number"/><block s="reportListItem"><block s="reportDifference"><block var="row number"/><block s="reportDifference"><block var="i"/><l>1</l></block></block><block var="board"/></block></block><block s="reportListItem"><block var="clone number"/><block s="reportListItem"><block s="reportDifference"><block var="row number"/><block s="reportDifference"><block var="i"/><l>2</l></block></block><block var="board"/></block></block><block s="reportListItem"><block var="clone number"/><block s="reportListItem"><block s="reportDifference"><block var="row number"/><block s="reportDifference"><block var="i"/><l>3</l></block></block><block var="board"/></block></block></list></block><block s="reportNewList"><list><block var="r/y"/><block var="r/y"/><block var="r/y"/><block var="r/y"/></list></block></block></block><block s="reportOr"><block s="reportEquals"><block s="reportNewList"><list><block s="reportListItem"><block s="reportDifference"><block var="clone number"/><block s="reportDifference"><block var="i"/><l>0</l></block></block><block s="reportListItem"><block s="reportDifference"><block var="row number"/><block s="reportDifference"><block var="i"/><l>0</l></block></block><block var="board"/></block></block><block s="reportListItem"><block s="reportDifference"><block var="clone number"/><block s="reportDifference"><block var="i"/><l>1</l></block></block><block s="reportListItem"><block s="reportDifference"><block var="row number"/><block s="reportDifference"><block var="i"/><l>1</l></block></block><block var="board"/></block></block><block s="reportListItem"><block s="reportDifference"><block var="clone number"/><block s="reportDifference"><block var="i"/><l>2</l></block></block><block s="reportListItem"><block s="reportDifference"><block var="row number"/><block s="reportDifference"><block var="i"/><l>2</l></block></block><block var="board"/></block></block><block s="reportListItem"><block s="reportDifference"><block var="clone number"/><block s="reportDifference"><block var="i"/><l>3</l></block></block><block s="reportListItem"><block s="reportDifference"><block var="row number"/><block s="reportDifference"><block var="i"/><l>3</l></block></block><block var="board"/></block></block></list></block><block s="reportNewList"><list><block var="r/y"/><block var="r/y"/><block var="r/y"/><block var="r/y"/></list></block></block><block s="reportEquals"><block s="reportNewList"><list><block s="reportListItem"><block s="reportDifference"><block var="clone number"/><block s="reportDifference"><block var="i"/><l>0</l></block></block><block s="reportListItem"><block s="reportSum"><block var="row number"/><block s="reportDifference"><block var="i"/><l>0</l></block></block><block var="board"/></block></block><block s="reportListItem"><block s="reportDifference"><block var="clone number"/><block s="reportDifference"><block var="i"/><l>1</l></block></block><block s="reportListItem"><block s="reportSum"><block var="row number"/><block s="reportDifference"><block var="i"/><l>1</l></block></block><block var="board"/></block></block><block s="reportListItem"><block s="reportDifference"><block var="clone number"/><block s="reportDifference"><block var="i"/><l>2</l></block></block><block s="reportListItem"><block s="reportSum"><block var="row number"/><block s="reportDifference"><block var="i"/><l>2</l></block></block><block var="board"/></block></block><block s="reportListItem"><block s="reportDifference"><block var="clone number"/><block s="reportDifference"><block var="i"/><l>3</l></block></block><block s="reportListItem"><block s="reportSum"><block var="row number"/><block s="reportDifference"><block var="i"/><l>3</l></block></block><block var="board"/></block></block></list></block><block s="reportNewList"><list><block var="r/y"/><block var="r/y"/><block var="r/y"/><block var="r/y"/></list></block></block></block></block><script><block s="doStopThis"><l><option>all but this script</option></l></block><block s="doSayFor"><block s="reportJoinWords"><list><block var="r/y"/><l> wins!</l></list></block><l>5</l></block><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></block><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block-definition><block-definition s="Connect 4 draw?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><l></l></block></script></block-definition><block-definition s="Connect 4 results" type="command" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block s="reportOr"><custom-block s="%s wins Connect 4?"><l>Red</l></custom-block><custom-block s="%s wins Connect 4?"><l>Yellow</l></custom-block></block><script><block s="doStopThis"><l><option>all but this script</option></l></block></script><script><block s="doFor"><l>i</l><l>4</l><l>9</l><script><block s="doIfElse"><block s="reportListContainsItem"><block s="reportListItem"><block var="i"/><block var="board"/></block><l>Empty</l></block><script><block s="doStopThis"><l><option>this script</option></l></block></script><script><block s="doSayFor"><l>Draw!</l><l>2</l></block><block s="doStopThis"><l><option>all but this script</option></l></block></script></block></script></block></script></block></script></block-definition></blocks><variables><variable name="X&apos;s turn?"><bool>true</bool></variable><variable name="board"><list struct="atomic" id="1871">Empty,Empty,Empty,Empty,Empty,Empty,Empty,Empty,Empty</list></variable><variable name="winning triples"><list id="1872"><item><list struct="atomic" id="1873">1,2,3</list></item><item><list struct="atomic" id="1874">1,4,7</list></item><item><list struct="atomic" id="1875">1,5,9</list></item><item><list struct="atomic" id="1876">2,5,8</list></item><item><list struct="atomic" id="1877">3,5,7</list></item><item><list struct="atomic" id="1878">3,6,9</list></item><item><list struct="atomic" id="1879">4,5,6</list></item><item><list struct="atomic" id="1880">7,8,9</list></item></list></variable><variable name="Number of Players"><l>2</l></variable><variable name="Game Type"><l>A</l></variable></variables></project><media name="U3L1-Tic-Tac-Toe Setup" app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>