ࡱ> FRoot Entryp|YrRASHuuw/ContentsU+Page 1JnSymbol 48E GHIKLMNOPQRSTVWXYZ[\]^_`abcdefghijRoot Entryp|YrRASHq/Contents!FPage 1|#Symbol 4:  "#$%&'()*+,-./0123456789:;<=>?@ABCDSymbol 72Symbol 6*Symbol 2e   !"#$%&'()+,-./013456789;<=>?@ACPicPage CPicLayer CPicFrame?%; CPicShape\WWWEWWWWWWW" 4 eL89U4sy-ހ844'M2[4M;43&W+4L=s{4m u}TTdTϋ$ M߀O4 ހSm &  C pT L+| u րs  fYUln ހnZ  @k%<NՀDN ?oM   W(TUoPTMUy"?- U<T}sIT R   ?U):P!P T[T/GPQ,USUWesSU?]ncWWWWWWgd -'6 fjwN xCo j& >ۀ/;M $&D D>d\I/  3'a 0v^xR# 94 S5jG _ Rs4M<*4&Wg+4&={4@ 4se4LM׀89jU4&Ssy.3  :"q-l[R:B Y   ߀@,Y% KG#. 2 "8i M!73#xX 's){&' s)? 0000 1OOCPicPage CPicLayer CPicFrameCPicText mA N  X Arial Blackc"(HARDs2 00,0d?h& 0000 1OOCPicPage CPicLayer CPicFrameCPicText N N  X Arial Blackc"(REPLAYs200D0d?yd 0000 1OOCPicPage CPicLayer CPicFrameCPicText mA N  X Arial Blackc"(EASYs2 00,0d?o 0000 1OOCPicPage CPicLayer CPicFrameCPicText 0  4 Arial Blackq"(Othello CPicButton   z0on(press) { ctime = 60; gotoAndStop(2); }  P P \0on(press) { ctime = 15; gotoAndStop(2); } ?istop();+@0@00@@@@@@@@0@@@@@@@@0@0003@@000@@0@00@@000@@0@0@0@@000@@30@00300@30@0@033@@000@@3@0@0033@03@@@0@3@@03@@@0@000@0@0@@0@03@0@0@0@000003@ 00@0@0@0@3@@00@03@3@@3@@3 0@0@3@3@0@3@00000@3 @3 0@0@3@@3?x // Rg-[ var masu_w = Stage.width / 8; // 00n0E^ var masu_h = Stage.height / 8; // 00n0ؚU0 var ban = new Array(); // vbn000MR var msflag = false; // 000L0bU00_00 true var ms_x, ms_y; // 000L0bU00_0h0M0n0^j var ccount = 0; // 000000`Bf0000(u // Rgvbh:y var kno = 0, fno; for (var y = 0; y < 8; y++) { ban[y] = new Array(); for (var x = 0; x < 8; x++) { if (x == 3 && y == 3 || x == 4 && y == 4) fno = 2; else if (x == 3 && y == 4 || x == 4 && y == 3) fno = 3; else fno = 1; ban[y][x] = attachMovie("koma", "koma" + kno, kno); ban[y][x]._x = masu_w * x + masu_w / 2; ban[y][x]._y = masu_h * y + masu_h / 2; ban[y][x].gotoAndStop(fno); kno++; } } // k0000Qt onEnterFrame = function() { // 00000 if (msflag) { putKoma(ms_x, ms_y, 2, true); msflag = false; } // 000000 if (++ccount > ctime) { cthink(); ccount = 0; } // 0000000$R[ var pc = 0, cc = 0; for (var y = 0; y < 8; y++) { for (var x = 0; x < 8; x++) { if (ban[y][x]._currentframe == 2) pc++; else if (ban[y][x]._currentframe == 3) cc++; } } if (cc == 0 || pc == 0 || pc + cc == 64) { if (pc > cc) msg1 = "YOU WIN!"; else if (cc > pc) msg1 = "YOU LOSE!"; else msg1 = "DRAW!"; msg2 = "YOU:" + pc + " COM:" + cc; for (var y = 0; y < 8; y++) { for (var x = 0; x < 8; x++) { ban[y][x].removeMovieClip(); } } gotoAndStop(3); } } // 000b NBf onMouseDown = function() { msflag = true; ms_x = Math.floor(_xmouse / masu_w); ms_y = Math.floor(_ymouse / masu_h); } // c[W0_0MOnk0000nO0 // x, y: ^j(0^7) c:r(2:Ҟ, 3:}v) // pf:y00`0Q0n04XTo0 false, [k0nO04XTo0 true // ;b0$Pψԏc0_0pe function putKoma(x, y, c, pf) { var rx = new Array(8); var ry = new Array(8); var rnum = 0; if (ban[y][x]._currentframe != 1) return 0; for (var ay = -1; ay <= 1; ay++) { for (var ax = -1; ax <= 1; ax++) { var kx = x + ax; var ky = y + ay; var rn = 0; for (;;) { var fno = ban[ky][kx]._currentframe; if (kx < 0 || kx > 7 || ky < 0 || ky > 7) break; else if (fno == 1) break; else if (fno == c) { if (pf) for (i = 0; i < rn; i++) ban[ry[i]][rx[i]].gotoAndStop(c); rnum += rn; break; } else { rx[rn] = kx; ry[rn] = ky; rn++; kx += ax; ky += ay; } } } } if (rnum && pf) ban[y][x].gotoAndStop(c); return rnum; } // 000000n0` // ;b$P00L0nQ0_00 true, 00j00 false function cthink() { // *QHQMO var pr = [ [0, 6, 2, 1, 1, 2, 6, 0], [6, 6, 5, 4, 4, 5, 6, 6], [2, 5, 2, 3, 3, 2, 5, 2], [1, 4, 3, 3, 3, 3, 4, 1], [1, 4, 3, 3, 3, 3, 4, 1], [2, 5, 2, 3, 3, 2, 5, 2], [6, 6, 5, 4, 4, 5, 6, 6], [0, 6, 2, 1, 1, 2, 6, 0] ]; var x, y, max = 0; var rn = new Array(); for (y = 0; y < 8; y++) rn[y] = new Array(); for (var p = 0; p <= 6; p++) { for (y = 0; y < 8; y++) { for (x = 0; x < 8; x++) { if (pr[y][x] == p) { rn[y][x] = putKoma(x, y, 3, false); if (rn[y][x] > max) max = rn[y][x]; } } } if (max > 0) { do { x = Math.floor(Math.random() * 8); y = Math.floor(Math.random() * 8); } while (rn[y][x] < max); putKoma(x, y, 3, true); return true; } } return false; }  nz%Kcmsg1!  Arial Blackq"(1 n %lkmsg2:  Arial Blackq"(1|3    j"on(press) { gotoAndStop(1); } ?Idelete onEnterFrame;  0000 1OO8 CDocumentPagePage 1000 1@z@Symbol 4easy~@0000 1,@Symbol 7replay@ easy n00004@Symbol 6hard՛@ easy n0000.@Symbol 2koma_@koma0000 1@ hhhhc!PublishGifProperties::PaletteName PublishRNWKProperties::speed256K0"PublishHtmlProperties::StartPaused0%PublishFormatProperties::htmlFileName Ty*g-[-2 PublishQTProperties::LayerOption PublishQTProperties::AlphaOption"PublishQTProperties::MatchMovieDim1Vector::Debugging Permitted0PublishProfileProperties::name00000PublishHtmlProperties::Loop1PublishFormatProperties::jpeg0PublishQTProperties::Width320$PublishPNGProperties::OptimizeColors1&PublishRNWKProperties::speedSingleISDN0&PublishRNWKProperties::singleRateAudio0Vector::External Player%PublishHtmlProperties::showTagWarnMsg1PublishHtmlProperties::Units04PublishHtmlProperties::UsingDefaultAlternateFilename1PublishGifProperties::Smooth1%PublishRNWKProperties::mediaCopyright(c) 2000#PublishRNWKProperties::flashBitRate1200Vector::Compress Movie1Vector::Package Paths&PublishFormatProperties::flashFileName Ty*g-[-2.swf'PublishFormatProperties::gifDefaultName1%PublishFormatProperties::projectorMac0"PublishGifProperties::DitherOption!PublishRNWKProperties::exportSMIL1 PublishRNWKProperties::speed384K0"PublishRNWKProperties::exportAudio1Vector::FireFox0PublishHtmlProperties::Quality4(PublishHtmlProperties::VerticalAlignment1$PublishFormatProperties::pngFileName Ty*g-[-2.pngPublishFormatProperties::html1"PublishPNGProperties::FilterOption'PublishRNWKProperties::mediaDescriptionVector::Override Sounds0!PublishHtmlProperties::DeviceFont0-PublishFormatProperties::generatorDefaultName1PublishQTProperties::Flatten1PublishPNGProperties::BitDepth24 000 (000000000)PublishPNGProperties::Smooth1"PublishGifProperties::DitherSolids0PublishGifProperties::Interlace0PublishJpegProperties::DPI4718592Vector::Quality80Vector::Protect0"PublishHtmlProperties::DisplayMenu1*PublishHtmlProperties::HorizontalAlignment12PublishHtmlProperties::VersionDetectionIfAvailable0Vector::Template0*PublishFormatProperties::generatorFileName Ty*g-[-2.swt(PublishFormatProperties::rnwkDefaultName1(PublishFormatProperties::jpegDefaultName1PublishFormatProperties::gif0PublishGifProperties::Loop1PublishGifProperties::Width320$PublishRNWKProperties::mediaKeywords!PublishRNWKProperties::mediaTitlePublishRNWKProperties::speed28K1#PublishFormatProperties::qtFileName Ty*g-[-2.mov"PublishPNGProperties::DitherOption#PublishGifProperties::PaletteOption#PublishGifProperties::MatchMovieDim1$PublishRNWKProperties::speedDualISDN0$PublishRNWKProperties::realVideoRate100000PublishJpegProperties::Quality80PublishFormatProperties::flash1#PublishPNGProperties::PaletteOption#PublishPNGProperties::MatchMovieDim1$PublishJpegProperties::MatchMovieDim1Vector::Package Export Frame1!PublishProfileProperties::version1PublishHtmlProperties::Align0-PublishFormatProperties::projectorWinFileName Ty*g-[-2.exe'PublishFormatProperties::pngDefaultName10PublishFormatProperties::projectorMacDefaultName1#PublishQTProperties::PlayEveryFrame0"PublishPNGProperties::DitherSolids0"PublishJpegProperties::Progressive0Vector::Debugging PasswordVector::Omit Trace Actions0PublishHtmlProperties::Height320PublishHtmlProperties::Width320%PublishFormatProperties::jpegFileName Ty*g-[-2.jpg)PublishFormatProperties::flashDefaultName1PublishPNGProperties::Interlace0PublishGifProperties::Height320PublishJpegProperties::Size0Vector::DeviceSound0Vector::TopDown0'PublishHtmlProperties::TemplateFileNameC:\Documents and Settings\Administrator\Local Settings\Application Data\Macromedia\Flash MX 2004\ja\Configuration\Html\Default.html!PublishHtmlProperties::WindowMode02PublishHtmlProperties::UsingDefaultContentFilename1-PublishFormatProperties::projectorMacFileName Ty*g-[-2.hqx(PublishFormatProperties::htmlDefaultName1PublishFormatProperties::rnwk0PublishFormatProperties::png0PublishQTProperties::Height320%PublishPNGProperties::RemoveGradients0PublishGifProperties::MaxColors255'PublishGifProperties::TransparentOptionPublishGifProperties::LoopCountPublishRNWKProperties::speed56K1Vector::Report0+PublishHtmlProperties::OwnAlternateFilename(PublishHtmlProperties::AlternateFilename Ty*g-[-2_alternate.html&PublishHtmlProperties::ContentFilename Ty*g-[-2_content.html"PublishFormatProperties::generator0$PublishGifProperties::OptimizeColors1"PublishRNWKProperties::audioFormat0Vector::Version6Vector::Event Format0Vector::Stream Compress7PublishFormatProperties::qt0PublishPNGProperties::Height320PublishPNGProperties::Width320%PublishGifProperties::RemoveGradients0 PublishRNWKProperties::speed512K0PublishJpegProperties::Height320Vector::ActionScriptVersion2Vector::Event Compress7PublishHtmlProperties::Scale00PublishFormatProperties::projectorWinDefaultName1PublishQTProperties::Looping0*PublishQTProperties::UseQTSoundCompression0!PublishPNGProperties::PaletteName!PublishPNGProperties::Transparent0&PublishGifProperties::TransparentAlpha128PublishGifProperties::Animated0"PublishRNWKProperties::mediaAuthor(PublishRNWKProperties::speedCorporateLAN0&PublishRNWKProperties::showBitrateDlog1"PublishRNWKProperties::exportFlash1PublishJpegProperties::Width320Vector::Stream Format0"PublishHtmlProperties::VersionInfo87,0,0,0;6,0,0,0;5,0,0,0;4,0,0,0;3,0,0,0;2,0,0,0;1,0,0,0;$PublishFormatProperties::gifFileName Ty*g-[-2.gif&PublishFormatProperties::qtDefaultName1"PublishQTProperties::PausedAtStart0%PublishQTProperties::ControllerOption0PublishPNGProperties::MaxColors255,PublishHtmlProperties::UsingOwnAlternateFile0%PublishFormatProperties::rnwkFileName Ty*g-[-2.smil%PublishFormatProperties::projectorWin0%PublishFormatProperties::defaultNames1 CColorDef3PfP0PHP`Px333(3f<03CH3F`3Hxf0f30ff(0f5Hf<`f@x3330333xf3d03]H3Z`3Xx3333303f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`f03f0ffx0fkHfd`f`x3f033fPH3ffxPH3fdx`3f]x3fZff0f3fPHfff`ffP0xffPxffPH3HfHxH̙n`hx3H33x`3fx`3xx`3̙kx3dfHf3x`ff0xfx0xf̙dxf]`3`f``x`px3`33x3fx3x3xx3nf`f3xffxfxfxxfkx3xfxxxxx3x333f333xfxf3fffffxxH3 HfH(H2`8x`3 `f`̙`(`0xx3xfxx x(xPx3H33x`f3x`3(x`35x3<3`33xf3 x̙3x3(x323x33f3 333(xfH3fx`ff0xf(0xf<xfCf`3fxffx̙fxf(xf5fx3ffff ff((xH3x`f0x̙PPP`3xfx̙P̙(P<x3f̙(xx`3xfxPxPd`3xfx̙PPx3f(xx3fxx3f̙xx3ff`zf*]d"PublishQTProperties::QTSndSettingsCQTAudioSettings  Symbol 71Symbol 6*Symbol 2e   !"#$%&'()+,-./02345679:;<=> 0000 1OOCPicPage CPicLayer CPicFrameCPicText mA N X Arial Blackc"(HARDs2 00,0d?p C[ 1OO1OOCPicPage CPicLayer CPicFrameCPicText N N X Arial Blackc"(REPLAYs200D0d?@ C[ 1OOCPicPage CPicLayer CPicFrameCPicText mA N X Arial Blackc"(EASYs2 00,0d?az C[ 1OOCPicPage CPicLayer CPicFrameCPicText 0 4 Arial Blackq"(Othello CPicButton   N-on (press) { ctime = 60; gotoAndStop(2); }  P  P@ -on (press) { ctime = 15; gotoAndStop(2); } ?%Cstop(); +@0@@@@@@@@000@@@@@@@@0@30@0@03@@0@0@3@@@0@03@00000@00@0@0@0@00@3@0@0@@0@0@@00@0@0@0@003@@0@0@0@3@0@3@3 @0@0@@@@@03@@0@@@0030@@@0@00@3@@@0@0@00@@0@00@@0@003 @00@00@3@0@00@3 03@@00@ @@0@0@@@@@0@0@3@@?S, // ݒ var masu_w = Stage.width/8; // }X̕ var masu_h = Stage.height/8; // }X̍ var ban = new Array(); // Ֆʂ̃R}z var msflag = false; // }EXꂽ true var ms_x, ms_y; // }EXꂽƂ̍W var ccount = 0; // Rs[^vlԃJEgp // Ֆʕ\ var kno = 0, fno; for (var y = 0; y<8; y++) { ban[y] = new Array(); for (var x = 0; x<8; x++) { if (x == 3 && y == 3 || x == 4 && y == 4) { fno = 2; } else if (x == 3 && y == 4 || x == 4 && y == 3) { fno = 3; } else { fno = 1; } ban[y][x] = attachMovie("koma", "koma"+kno, kno); ban[y][x]._x = masu_w*x+masu_w/2; ban[y][x]._y = masu_h*y+masu_h/2; ban[y][x].gotoAndStop(fno); kno++; } } // t[ onEnterFrame = function () { if (msflag) {putKoma(ms_x, ms_y, 2, true);msflag = false;}if (++ccount>ctime) {cthink();ccount = 0;}var pc = 0, cc = 0;for (var y = 0; y<8; y++) {for (var x = 0; x<8; x++) {if (ban[y][x]._currentframe == 2) {pc++;} else if (ban[y][x]._currentframe == 3) {cc++;}}}if (cc == 0 || pc == 0 || pc+cc == 64) {if (pc>cc) {msg1 = "YOU WIN!";} else if (cc>pc) {msg1 = "YOU LOSE!";} else {msg1 = "DRAW!";}msg2 = "YOU:"+pc+" COM:"+cc;for (var y = 0; y<8; y++) {for (var x = 0; x<8; x++) {ban[y][x].removeMovieClip();}}gotoAndStop(3);}}; // }EX onMouseDown = function () { msflag = true;ms_x = Math.floor(_xmouse/masu_w);ms_y = Math.floor(_ymouse/masu_h);}; // w肵ʒuɃR}u // x, y: W(0`7) c:F(2:, 3:) // pf:ׂ邾̏ꍇ false, ۂɒuꍇ true // ߂lFԂ function putKoma(x, y, c, pf) { var rx = new Array(8); var ry = new Array(8); var rnum = 0; if (ban[y][x]._currentframe != 1) { return 0; } for (var ay = -1; ay<=1; ay++) { for (var ax = -1; ax<=1; ax++) { var kx = x+ax; var ky = y+ay; var rn = 0; for (; ; ) { var fno = ban[ky][kx]._currentframe; if (kx<0 || kx>7 || ky<0 || ky>7) { break; } else if (fno == 1) { break; } else if (fno == c) { if (pf) { for (i=0; imax) { max = rn[y][x]; } } } } if (max>0) { do { x = Math.floor(Math.random()*8); y = Math.floor(Math.random()*8); } while (rn[y][x]