аЯрЁБс>ўџ ўџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџRoot EntryџџџџџџџџpЊ|YЊrЯƒRASH€<৕ŸР4Contentsџџџџџџџџ{ЁPage 1џџџџџџџџџџџџ:ŒLSymbol 1џџџџџџџџџџџџ§џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџўџџџўџџџvџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџyџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ,џџџџџџџџџџџџџџџџџџџџ7џџџџџџџџ89;<=>?@ABCDEFGHIJKLNџџџџOPQRSTUVWXeџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџfghiqџџџџџџџџџџџџџџџџџџџџџџџџџџџџrstўџџџwx.u§џџџ|}~€Root EntryџџџџџџџџpЊ|YЊrЯƒRASH лЬ–ŸР Contentsџџџџџџџџ]ЁPage 1џџџџџџџџџџџџ ŒLSymbol 1џџџџџџџџџџџџџџџџџџџџ§џџџџџџџ§џџџўџџџv ўџџџџџџџўџџџџџџџy !"#$%&'()*+-/,01235џџџџ6MџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџYџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџZ[\ўџџџ^_`abcdjџџџџџџџџџџџџџџџџџџџџklўџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџwx.uџџџџџџџџџџџџџџџџџџџџџџџџSymbol 2џџџџsPage 2џџџџ$LSymbol 3џџџџџџџџ:Symbol 6 џџџџDkџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџSymbol 2џџџџsPage 2џџџџ$LSymbol 3џџџџџџџџ:Symbol 6 џџџџDk ўџџџ" !ўџџџ#ўџџџ%&'()*+,-./0123456789_;<=>?@ABCNEFGHIJKLMўџџџOPQRSTUVWXYZ[\]^ўџџџ`abўџџџdefghўџџџjklmnoўџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ?џџ€€Layer 1џџџџO€џџ€€€€actionsџџџџO€џџ€€џџCPicPageџџ CPicLayerџџ CPicFrameџџCPicText€€€€ YФ'h Boink LETџ(ARE YOU READY FOR A COMPUTER OPPONENT?€€€€€Q ХџџCPicPageџџ CPicLayerџџ CPicFrameџџ CPicButton€€ ёџџџџџџџ _root.game[substring(name,4,1)]piecedifficulty == "easy"../:easy../:hard)this.gotoAndStop(../:piece) €€џџџ?џџ€џџCPicText€€rўџџПќџџ;j Boink LETџ(X€€џџџ?џџ€ €€€rўџџћќџџ_j Boink LETџ(o€€џџџ?џџ€€ XOXOXOXOXOXOџџџџџOOџ€€€€џџџ?џџname_namepiece _root.piece difficulty_root.difficulty€€€џџCPicPageџџ CPicLayerџџ CPicFrame€€џџџ?џџ€€€џѓuЌњІ 0ѕ0Zѕ0ъ џџџ?џџ€€Layer 1џџџџO€џџ€€џџџ?џџx€€€џџџ?џџoџџCPicPageџџ CPicLayerџџ CPicFrameџџ CPicShape€€и№џџV№џџџџ<s€Pши,€€џџCPicPageџџ CPicLayerџџ CPicFrame€€џџџ?џџ€џџ CPicShape€€3fџ3џџs€€!=<€ 0­ 0sѓ0sѓ0šѓ0Sѓ0€ѓ0Ўѓ0f 0 0 0R s€€€ццЎѓR 0 0Ўѓ3%Sѓ0sѓ0­ 3šѓSѓf 0€ѓ0šѓ3ѓ€ €ѓ0 3€ sѓ€€џџџ?џџ€€boardO€џџ€€џџCPicText€€”U44№ Boink LET™Ьџ(easy €€€ь L4№ Boink LET™џ(or €€€t™‚4№ Boink LETџf3џ(hardџџ CPicButton€€Œ—Э бџџџџ  difficultyeasy2 €€€“жЭX9џџџџ  difficultyhard2 €€€Aг4 № Boink LET™џ(tic-tac-toe €€џџџ?џџ€џџ CPicSpriteк Symbol 4џџџџџџџџџџџџ: Symbol 7џџџџ џџџџi‰Symbol 8џџџџџџџџџџџџc]џџџџџџџџџџџџ ўџџџ" !ўџџџ#ўџџџ%&'()*+,-./0123456789_;<=>?@ABCNEFGHIJKLMўџџџOPQRSTUVWXYZ[\]^ўџџџ`abўџџџdefghўџџџjklmnoўџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ€€џџCPicPageџџ CPicLayerџџ CPicFrame€€ џ 1б ўщЋџџЬ™џћ6ўм@џџXI‚ўc4мџчg~b8{˜:ЦŒїЪZ€’€8В№ўџзџџџbќmџ8š@џџчЖџџўžў4и—ў8ВПщЖџџžnџw8хџ€m8{5џџљ :§Œџџџ?џџ€€Layer 1џџџџ™џ€€џџџ?џџ€€Layer 1џџџџO€џџ€€€€actionsџџџџO€џџ€€џџCPicPageџџ CPicLayerџџ CPicFrameџџCPicText€€€€ YФ'h Boink LETџ(ARE YOU READY FOR A COMPUTER OPPONENT?€€€€€Q Хк џџџџbox1€Q Q џџџџbox2€_§_§џџџџbox3€@Q@Qџџџџbox6€џџџџbox5€ююџџџџbox4€››џџџџbox7€6m6mџџџџbox8€­_­_џџџџbox9 €€€ЦЇHрVerdanaџџ"(you: €€€šд H рVerdanaџџ"(computer: €€€ю “sHƒyouрVerdanaџџ"(X €€€ џœHƒcompрVerdanaџџ"(O€шТшТџџџџ 0over €€€бNH рVerdanaџџ"(games played: €€€е(пџџџfyƒ@playedрVerdanaџџ"( €€€r~п H рVerdanaџџ"(your score: €€€Jъ'HрVerdanaџџ"(computer score: €€€ЁVNRƒ@ysрVerdanaџџ"( €€€ЁыŠdƒ@csрVerdanaџџ"(€€џџџ?џџ€€piecesџOOџ€€€€џџџ?џџ€€2Г2Гџџџџ 0 line1vert€qwqwџџџџ 0 line2vert€uЧuЧџџџџ 0 line3vert€qOЕЕћJџџЕqOџџџџ 0 line2diag€…cЕћJџџЕЕ…cџџџџ 0 line1diag€…_ џџ…_ џџџџ 0line1hor€…'џџ…'џџџџ 0line2hor€q{џџq{џџџџ 0line3hor€€џџџ?џџ€€Lines™3Ьџ€€€€џџџ?џџ game new Array() game_doneplayed++playedgame[0]tich0++h<=9game[h]empty€€€џџџ?џџR%wintheonex=game[1] == theone and game[2] == theone and game[3] == theone1line1hor)winner()=game[4] == theone and game[5] == theone and game[6] == theone1line2hor)winner()=game[7] == theone and game[8] == theone and game[9] == theone1line3hor)winner()=game[1] == theone and game[4] == theone and game[7] == theone1 line1vert)winner()=game[2] == theone and game[5] == theone and game[8] == theone1 line2vert)winner()=game[3] == theone and game[6] == theone and game[9] == theone1 line3vert)winner()=game[1] == theone and game[5] == theone and game[9] == theone1 line1diag)winner()H€ TextField3рVerdanaџџ"(You Win! €€€џџџQџџџџ )_root.gotoAndStop(1) €€џџџ?џџ€€€€ЬїџџзўџџH€ TextField3рVerdanaџџџџ"(You Lose€€€ЅїџџЭўџџ=game[3] == theone and game[5] == theone and game[7] == theone1 line2diag)winner()theoneo=game[1] == theone and game[2] == theone and game[3] == theone1line1hor)winner()=game[4] == theone and game[5] == theone and game[6] == theone1line2hor)winner()=game[7] == theone and game[8] == theone and game[9] == theone1line3hor)winner()=game[1] == theone and game[4] == theone and game[7] == theone1 line1vert)winner()=game[2] == theone and game[5] == theone and game[8] == theone1 line2vert)winner()=game[3] == theone and game[6] == theone and game[9] == theone1 line3vert)winner()=game[1] == theone and game[5] == theone and game[9] == theone1 line1diag)winner()=game[3] == theone and game[5] == theone and game[7] == theone1 line2diag)winner()============================is array full?============================g0v0++g<=9game[g]!="empty"v++vv==9 game_doneyes1over)over.gotoAndStop(1)&%winnertheone == piece1overys++ys)over.gotoAndStop(2)1overcs++cs)over.gotoAndStop(3) game_doneyes&€€€ џџџ?џџeasy)win()game_done != "yes"move_onno% rand_spotrandNumber(random(9))+1&) rand_spot()move_on == "no"&game[rand] != "x" && game[rand] != "o"move_onyes) this["box"+rand].gotoAndStop(cp) game[rand]cp) rand_spot())win()€€€џџџ?џџhard>)win()game_done != "yes"keeponyes-=============================================(check to see if computer is about to win-============================================= ==========top row ==========Hgame[1] == cp and game[2] == cp and keepon=="yes" and game[3] == "empty"game[3]cp)this["box"+ 3].gotoAndStop(cp)keeponnoHgame[2] == cp and game[3] == cp and keepon=="yes" and game[1] == "empty"game[1]cp)this["box"+ 1].gotoAndStop(cp)keeponnoHgame[1] == cp and game[3] == cp and keepon=="yes" and game[2] == "empty"game[2]cp)this["box"+ 2].gotoAndStop(cp)keeponno ========== middle row ==========Hgame[4] == cp and game[5] == cp and keepon=="yes" and game[6] == "empty"game[6]cp)this["box"+ 6].gotoAndStop(cp)keeponnoHgame[5] == cp and game[6] == cp and keepon=="yes" and game[4] == "empty"game[4]cp)this["box"+ 4].gotoAndStop(cp)keeponnoHgame[4] == cp and game[6] == cp and keepon=="yes" and game[5] == "empty"game[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno ========== bottom row ==========Hgame[7] == cp and game[8] == cp and keepon=="yes" and game[9] == "empty"game[9]cp)this["box"+ 9].gotoAndStop(cp)keeponnoHgame[8] == cp and game[9] == cp and keepon=="yes" and game[7] == "empty"game[7]cp)this["box"+ 7].gotoAndStop(cp)keeponnoHgame[7] == cp and game[9] == cp and keepon=="yes" and game[8] == "empty"game[8]cp)this["box"+ 8].gotoAndStop(cp)keeponno ========== first column ==========Hgame[1] == cp and game[4] == cp and keepon=="yes" and game[7] == "empty"game[7]cp)this["box"+ 7].gotoAndStop(cp)keeponnoHgame[4] == cp and game[7] == cp and keepon=="yes" and game[1] == "empty"game[1]cp)this["box"+ 1].gotoAndStop(cp)keeponnoHgame[1] == cp and game[7] == cp and keepon=="yes" and game[4] == "empty"game[4]cp)this["box"+ 4].gotoAndStop(cp)keeponno ========== second column ==========Hgame[2] == cp and game[5] == cp and keepon=="yes" and game[8] == "empty"game[8]cp)this["box"+ 8].gotoAndStop(cp)keeponnoHgame[5] == cp and game[8] == cp and keepon=="yes" and game[2] == "empty"game[2]cp)this["box"+ 2].gotoAndStop(cp)keeponnoHgame[2] == cp and game[8] == cp and keepon=="yes" and game[5] == "empty"game[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno ========== third column ==========Hgame[3] == cp and game[6] == cp and keepon=="yes" and game[9] == "empty"game[9]cp)this["box"+ 9].gotoAndStop(cp)keeponnoHgame[6] == cp and game[9] == cp and keepon=="yes" and game[3] == "empty"game[3]cp)this["box"+ 3].gotoAndStop(cp)keeponnoHgame[3] == cp and game[9] == cp and keepon=="yes" and game[6] == "empty"game[6]cp)this["box"+ 6].gotoAndStop(cp)keeponno ==========!top left to bottom right diagonal ==========Hgame[1] == cp and game[5] == cp and keepon=="yes" and game[9] == "empty"game[9]cp)this["box"+ 9].gotoAndStop(cp)keeponnoHgame[5] == cp and game[9] == cp and keepon=="yes" and game[1] == "empty"game[1]cp)this["box"+ 1].gotoAndStop(cp)keeponnoHgame[1] == cp and game[9] == cp and keepon=="yes" and game[5] == "empty"game[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno€€€€йљџџмўџџM H€ рVerdanaf™3џ"(Play Again?€€f™3џџџ<ѓ ’ўР0xч0@ќ0ˆџџџ?џџ€€Layer 1џџџџO€џџ€€џџH€ TextField3рVerdanaџџџџ"(You Win!€€€ЅїџџЭўџџ ==========!top right to bottom left diagonal ==========Hgame[3] == cp and game[5] == cp and keepon=="yes" and game[7] == "empty"game[7]cp)this["box"+ 7].gotoAndStop(cp)keeponnoHgame[5] == cp and game[7] == cp and keepon=="yes" and game[3] == "empty"game[3]cp)this["box"+ 3].gotoAndStop(cp)keeponnoHgame[3] == cp and game[7] == cp and keepon=="yes" and game[5] == "empty"џџџџ )_root.gotoAndStop(1) €€џџџ?џџ€€€€ЬїџџзўџџCPicPageџџ CPicLayerџџ CPicFrameџџCPicText€€йљџџмўџџM H€ рVerdanaf™3џ"(Play Again?€€џџџ?џџgame[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno-=============================================$check to see if you are about to win-============================================= ==========top row ==========Ngame[1] == piece and game[2] == piece and keepon=="yes" and game[3] == "empty"game[3]cp)this["box"+ 3].gotoAndStop(cp)keeponnoNgame[2] == piece and game[3] == piece and keepon=="yes" and game[1] == "empty"game[1]cp)this["box"+ 1].gotoAndStop(cp)keeponnoNgame[1] == piece and game[3] == piece and keepon=="yes" and game[2] == "empty"game[2]cp)this["box"+ 2].gotoAndStop(cp)keeponno ========== middle row ==========Ngame[4] == piece and game[5] == piece and keepon=="yes" and game[6] == "empty"game[6]cp)this["box"+ 6].gotoAndStop(cp)keeponnoNgame[5] == piece and game[6] == piece and keepon=="yes" and game[4] == "empty"game[4]cp)this["box"+ 4].gotoAndStop(cp)keeponnoNgame[4] == piece and game[6] == piece and keepon=="yes" and game[5] == "empty"game[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno ========== bottom row ==========Ngame[7] == piece and game[8] == piece and keepon=="yes" and game[9] == "empty"game[9]cp)this["box"+ 9].gotoAndStop(cp)keeponnoNgame[8] == piece and game[9] == piece and keepon=="yes" and game[7] == "empty"game[7]cp)this["box"+ 7].gotoAndStop(cp)keeponnoNgame[7] == piece and game[9] == piece and keepon=="yes" and game[8] == "empty"game[8]cp)this["box"+ 8].gotoAndStop(cp)keeponno ========== first column ==========Ngame[1] == piece and game[4] == piece and keepon=="yes" and game[7] == "empty"game[7]cp)this["box"+ 7].gotoAndStop(cp)keeponnoNgame[4] == piece and game[7] == piece and keepon=="yes" and game[1] == "empty"game[1]cp)this["box"+ 1].gotoAndStop(cp)keeponnoNgame[1] == piece and game[7] == piece and keepon=="yes" and gaџџCPicPageџџ CPicLayerџџ CPicFrameџџ CPicButton€€ ёџџџџџџџ _root.game[substring(name,4,1)]piecedifficulty == "easy"../:easy../:hard)this.gotoAndStop(../:piece) €€џџџ?џџ€џџCPicText€€me[4] == "empty"game[4]cp)this["box"+ 4].gotoAndStop(cp)keeponno ========== second column ==========Ngame[2] == piece and game[5] == piece and keepon=="yes" and game[8] == "empty"game[8]cp)this["box"+ 8].gotoAndStop(cp)keeponnoNgame[5] == piece and game[8] == piece and keepon=="yes" and game[2] == "empty"game[2]cp)this["box"+ 2].gotoAndStop(cp)keeponnoNgame[2] == piece and game[8] == piece and keepon=="yes" and game[5] == "empty"game[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno ========== third column ==========Ngame[3] == piece and game[6] == piece and keepon=="yes" and game[9] == "empty"game[9]cp)this["box"+ 9].gotoAndStop(cp)keeponnoNgame[6] == piece and game[9] == piece and keepon=="yrўџџПќџџ;j Boink LETџ(X€€џџџ?џџ€ €€€rўџџћќџџ_j Boink LETџ(o€€џџџ?џџ€€ XOXOXOXOXOXOџџџџџOOџ€€€€џџџ?џџname_namepiece _root.piece difficulty_root.difficulty€€€џџCPicPageџџ CPicLayerџџ CPicFrame€€џџџ?џџ€€€џѓuЌњІ 0ѕ0Zѕ0ъ џџџ?џџ€€Layer 1џџџџO€џџ€€џџџ?џџx€€€џџџ?џџoџџCPicPageџџ CPicLayerџџ CPicFrameџџ CPicShape€€и№џџV№џџџџ<s€Pши,€€џџCPicPageџџ CPicLayerџџ CPicFrame€€џџџ?џџ€џџ CPicShape€€3fџ3џџs€€!=<€ 0­ 0sѓ0sѓ0šѓ0Sѓ0€ѓ0Ўѓ0f 0 0 0R s€€€ццЎѓR 0 0Ўѓ3%Sѓ0sѓ0­ 3šѓSѓf 0€ѓ0šѓ3ѓ€ €ѓ0 3€ sѓ€€џџџ?џџ€€boardO€џџ€€џџCPicText€€”U44№ Boink LET™Ьџ(easy €€€ь L4№ Boink LET™џ(or €€€t™‚4№ Boink LETџf3џ(hardџџ CPicButton€€Œ—Э бџџџџ  difficultyeasy2 €€€“жЭX9џџџџ  difficultyhard2 €€€Aг4 № Boink LET™џ(tic-tac-toe €€џџџ?џџ€џџ CPicSpriteк к џџџџbox1€Q Q џџџџbox2€_§_§џџџџbox3€@Q@Qџџџџbox6€џџџџbox5€ююџџџџbox4€››џџџџbox7€6m6mџџџџbox8€­_­_џџџџbox9 €€€ЦЇHрVerdanaџџ"(you: €€€šд H рVerdanaџџ"(computer: €€€ю “sHƒyouрVerdanaџџ"(X €€€ џœHƒcompрVerdanaџџ"(O€шТшТџџџџ 0over €€€бNH рVerdanaџџ"(games played: €€€е(пџџџfyƒ@playedрVerdanaџџ"( €€€r~п H рVerdanaџџ"(your score: €€€Jъ'HрVerdanaџџ"(computer score: €€€ЁVNRƒ@ysрVerdanaџџ"( €€€ЁыŠdƒ@csрVerdanaџџ"(€€џџџ?џџ€€piecesџOOџ€€€€џџџ?џџ€€2Г2Гџџџџ 0 line1vert€qwqwџџџџ 0 line2vert€uЧuЧџџџџ 0 line3vert€qOЕЕћJџџЕqOџџџџ 0 line2diag€…cЕћJџџЕЕ…cџџџџ 0 line1diag€…_ џџ…_ џџџџ 0line1hor€…'џџ…'џџџџ 0line2hor€q{џџq{џџџџ 0line3hor€€џџџ?џџ€€Lines™3Ьџ€€€€џџџ?џџ game new Array() game_doneplayed++playedgame[0]tich0++h<=9game[h]empty€€€џџџ?џџR%wintheonex=game[1] == theone and game[2] == theone and game[3] == theone1line1hor)winner()=game[4] == theone and game[5] == theone and game[6] == theone1line2hor)winner()=game[7] == theone and game[8] == theone and game[9] == theone1line3hor)winner()=game[1] == theone and game[4] == theone and game[7] == theone1 line1vert)winner()=game[2] == theone and game[5] == theone and game[8] == theone1 line2vert)winner()=game[3] == theone and game[6] == theone and game[9] == theone1 line3vert)winner()=game[1] == theone and game[5] == theone and game[9] == theone1 line1diag)winner()=game[3] == theone and game[5] == theone and game[7] == theone1 line2diag)winner()theoneo=game[1] == theone and game[2] == theone and game[3] == theone1line1hor)winner()=game[4] == theone and game[5] == theone and game[6] == theone1line2hor)winner()=game[7] == theone and game[8] == theone and game[9] == theone1line3hor)winner()=game[1] == theone and game[4] == theone and game[7] == theone1 line1vert)winner()=game[2] == theone and game[5] == theone and game[8] == theone1 line2vert)winner()=game[3] == theone and game[6] == theone and game[9] == theone1 line3vert)winner()=game[1] == theone and game[5] == theone and game[9] == theone1 line1diag)winner()=game[3] == theone and game[5] == theone and game[7] == theone1 line2diag)winner()============================is array full?============================g0v0++g<=9game[g]!="empty"v++vv==9 game_doneyes1over)over.gotoAndStop(1)&%winnertheone == piece1overys++ys)over.gotoAndStop(2)1overcs++cs)over.gotoAndStop(3) game_doneyes&€€€ џџџ?џџeasy)win()game_done != "yes"move_onno% rand_spotrandNumber(random(9))+1&) rand_spot()move_on == "no"&game[rand] != "x" && game[rand] != "o"move_onyes) this["box"+rand].gotoAndStop(cp) game[rand]cp) rand_spot())win()€€€џџџ?џџhard>)win()game_done != "yes"keeponyes-=============================================(check to see if computer is about to win-============================================= ==========top row ==========Hgame[1] == cp and game[2] == cp and keepon=="yes" and game[3] == "empty"game[3]cp)this["box"+ 3].gotoAndStop(cp)keeponnoHgame[2] == cp and game[3] == cp and keepon=="yes" and game[1] == "empty"game[1]cp)this["box"+ 1].gotoAndStop(cp)keeponnoHgame[1] == cp and game[3] == cp and keepon=="yes" and game[2] == "empty"game[2]cp)this["box"+ 2].gotoAndStop(cp)es" and game[3] == "empty"game[3]cp)this["box"+ 3].gotoAndStop(cp)keeponnoNgame[3] == piece and game[9] == piece and keepon=="yes" and game[6] == "empty"game[6]cp)this["box"+ 6].gotoAndStop(cp)keeponno ==========!top left to bottom right diagonal ==========Ngame[1] == piece and game[5] == piece and keepon=="yes" and game[9] == "empty"game[9]cp)thiskeeponno ========== middle row ==========Hgame[4] == cp and game[5] == cp and keepon=="yes" and game[6] == "empty"game[6]cp)this["box"+ 6].gotoAndStop(cp)keeponnoHgame[5] == cp and game[6] == cp and keepon=="yes" and game[4] == "empty"game[4]cp)this["box"+ 4].gotoAndStop(cp)keeponnoHgame[4] == cp and game[6] == cp and keepon=="yes" and game[5] == "empty"game[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno ========== bottom row ==========Hgame[7] == cp and game[8] == cp and keepon=="yes" and game[9] == "empty"game[9]cp)this["box"+ 9].gotoAndStop(cp)keeponnoHgame[8] == cp and game[9] == cp and keepon=="yes" and game[7] == "empty"game[7]cp)this["box"+ 7].gotoAndStop(cp)keeponnoHgame[7] == cp and game[9] == cp and keepon=="yes" and game[8] == "empty"game[8]cp)this["box"+ 8].gotoAndStop(cp)keeponno ========== first column ==========Hgame[1] == cp and game[4] == cp and keepon=="yes" and game[7] == "empty"game[7]cp)this["box"+ 7].gotoAndStop(cp)keeponnoHgame[4] == cp and game[7] == cp and keepon=="yes" and game[1] == "empty"game[1]cp)this["box"+ 1].gotoAndStop(cp)keeponnoHgame[1] == cp and game[7] == cp and keepon=="yes" and game[4] == "empty"game[4]cp)this["box"+ 4].gotoAndStop(cp)keeponno ========== second column ==========Hgame[2] == cp and game[5] == cp and keepon=="yes" and game[8] == "empty"game[8]cp)this["box"+ 8].gotoAndStop(cp)keeponnoHgame[5] == cp and game[8] == cp and keepon=="yes" and game[2] == "empty"game[2]cp)this["box"+ 2].gotoAndStop(cp)keeponnoHgame[2] == cp and game[8] == cp and keepon=="yes" and game[5] == "empty"game[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno ========== third column ==========Hgame[3] == cp and game[6] == cp and keepon=="yes" and game[9] == "empty"game[9]cp)this["box"+ 9].gotoAndStop(cp)keeponnoHgame[6] == cp and game[9] == cp and keepon=="yes" and game[3] == "empty"game[3]cp)this["box"+ 3].gotoAndStop(cp)keeponnoHgame[3] == cp and game[9] == cp and keepon=="yes" and game[6] == "empty"game[6]cp)this["box"+ 6].gotoAndStop(cp)keeponno ==========!top left to bottom right diagonal ==========Hgame[1] == cp and game[5] == cp and keepon=="yes" and game[9] == "empty"game[9]cp)this["box"+ 9].gotoAndStop(cp)keeponnoHgame[5] == cp and game[9] == cp and keepon=="yes" and game[1] == "empty"game[1]cp)this["box"+ 1].gotoAndStop(cp)keeponnoHgame[1] == cp and game[9] == cp and keepon=="yes" and game[5] == "empty"game[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno ==========!top right to bottom left diagonal ==========Hgame[3] == cp and game[5] == cp and keepon=="yes" and game[7] == "empty"game[7]cp)this["box"+ 7].gotoAndStop(cp)keeponnoHgame[5] == cp and game[7] == cp and keepon=="yes" and game[3] == "empty"game[3]cp)this["box"+ 3].gotoAndStop(cp)keeponnoHgame[3] == cp and game[7] == cp and keepon=="yes" and game[5] == "empty"game[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno-=============================================$check to see if you are about to win-============================================= ==========top row ==========Ngame[1] == piece and game[2] == piece and keepon=="yes" and game[3] == "empty"game[3]cp)this["box"+ 3].gotoAndStop(cp)keeponnoNgame[2] == piece and game[3] == piece and keepon=="yes" and game[1] == "empty"game[1]cp)this["box"+ 1].gotoAndStop(cp)keeponnoNgame[1] == piece and game[3] == piece and keepon=="yes" and game[2] == "empty"game[2]cp)this["box"+ 2].gotoAndStop(cp)keeponno ========== middle row ==========Ngame[4] == piece and game[5] == piece and keepon=="yes" and game[6] == "empty"game[6]cp)this["box"+ 6].gotoAndStop(cp)keeponnoNgame[5] == piece and game[6] == piece and keepon=="yes" and game[4] == "empty"game[4]cp)this["box"+ 4].gotoAndStop(cp)keeponnoNgame[4] == piece and game[6] == piece and keepon=="yes" and game[5] == "empty"game[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno ========== bottom row ==========Ngame[7] == p["box"+ 9].gotoAndStop(cp)keeponnoNgame[5] == piece and game[9] == piece and keepon=="yes" and game[1] == "empty"game[1]cp)this["box"+ 1].gotoAndStop(cp)keeponnoNgame[1] == piece and game[9] == piece and keepon=="yes" and game[5] == "empty"game[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno ==========!top right to bottom left diagonal ==========Ngame[3] == piece and game[5] == piece and keepon=="yes" and game[7] == "empty"game[7]cp)this["box"+ 7].gotoAndStop(cp)keeponnoNgame[5] == piece and game[7] == piece and keepon=="yes" and game[3] == "empty"game[3]cp)this["box"+ 3].gotoAndStop(cp)keeponnoNgame[3] == piece and game[7] == piece and keepon=="yes" and game[5] == "empty"game[5]cp)this["box"+ 5].gotoAndStop(cp)keeponno-=============================================