下沙论坛

 找回密码
 注册论坛(EC通行证)

QQ登录

QQ登录

下沙大学生网QQ群8(千人群)
群号:6490324 ,验证:下沙大学生网。
用手机发布本地信息严禁群发,各种宣传贴请发表在下沙信息版块有问必答,欢迎提问 提升会员等级,助你宣传
新会员必读 大学生的论坛下沙新生必读下沙币获得方法及使用
查看: 2243|回复: 1
打印 上一主题 下一主题

用ASP编写俄罗斯方块游戏

[复制链接]
  • TA的每日心情
    开心
    2014-7-28 21:47
  • 签到天数: 2 天

    [LV.1]初来乍到

    跳转到指定楼层
    1
    发表于 2009-4-17 08:55:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    以下为引用的内容:
    5 M6 M  x2 r3 n4 T, v' ]2 r
    <%If Not Request.QueryString("Ven") = "T" then%>
    ! p* X+ |9 c: D' a  |/ ~# y" M<HTML> 6 |' h- m' Q- [' R
    <HEAD>
    % X$ X; Z) T8 I7 S5 I+ |<META NAME="GENERATOR" C>
    * Y5 R) v4 p; y. E<TITLE></TITLE>
    9 w7 F. [/ J/ f# f4 e( `</HEAD>
    : u# y8 {; g& o2 A$ D<SCRIPT LANGUAGE=vbscript> - ?, E5 x9 Q9 P7 Z6 |" ?7 K; Y
    function Redir()
    $ J6 W2 K: k8 D# kwindow.open "<%= right(Request.ServerVariables("SCRIPT_NAME"),len(Request.ServerVariables("SCRIPT_NAME"))-instrrev(Request.ServerVariables("SCRIPT_NAME"),"/",len(Request.ServerVariables("SCRIPT_NAME"))))%>?Ven=T","user","status=no,toolbar=no,menubar=no,height=456,width=304,top=100,left=100,scrollbars=no"
    . ?: U# J/ F  c/ ], ]  {window.history.back(-1)
    9 ]1 n7 d( z3 e+ Y8 f: _End function " u7 {$ ?1 B8 @. C
    </SCRIPT>
    $ ?0 ~4 x7 Q6 A0 A& J0 E<BODY onload=Redir()> , c- i9 l7 Y2 k! d
    </BODY>
    4 {" r! J" C! D% _' C* N: p5 ]</HTML> 9 o7 L# D. j1 e; p, k% E
    <%else%> : U, n7 j! |1 U
    <HTML>
    0 \! H1 R  K" G& ~$ N<HEAD>
      P. u. `& t  x3 F" C, l; ~' |. z<META NAME="GENERATOR" C>
    ! ?+ H  e( \' x# F$ {) t8 P! B7 `<TITLE>**VBScript俄罗斯方块游戏**</TITLE> ! m3 k+ ^, S* l3 W  l- a# i
    <Style Type="text/css">
    7 f! T9 {, P" m5 M: M/ c+ ]<!--
    . s) E& S! i$ N7 T+ }" F0 |3 I.normalHI{font-family:verdana,helvetica,arial,sans serif;color:#FFCC00;font-size:10pt;font-weight:bold;Cursor:hand;} / Y& Y& K8 u' {- h7 b1 w' d1 C- [! T
    .normalH{font-family:verdana,helvetica,arial,sans serif;color:#000000;font-size:10pt;font-weight:bold;Cursor:hand;} 1 ~- z, I6 ~* K3 ?2 l
    .normalG{font-family:verdana,helvetica,arial,sans serif;color:#000000;font-size:13pt;font-weight:bold;} + Z6 Y: `+ [+ `: c( N4 i7 ^, W
    .normal{font-family:verdana,helvetica,arial,sans serif;color:#000000;font-size:10pt;font-weight:bold;} $ r. Q9 l) Y2 g+ T2 Y) ^7 O
    .normalD{font-family:verdana,helvetica,arial,sans serif;color:#000000;font-size:10pt;font-weight:bold;} . w* |6 F: D; A" @# s, ?- _0 B
    .normalI{font-family:verdana,helvetica,arial,sans serif;color:#00FF00;font-size:10pt;font-weight:bold;}   F! v& ^) [5 R8 r) N
    .normalO{font-family:verdana,helvetica,arial,sans serif;color:#FFFF00;font-size:10pt;font-weight:bold;} 3 f  |: z6 ~3 D% ~
    --> 2 v3 d$ B# Z. Z( |
    </Style> - c  @. C- V8 G* [) a
    </HEAD> 2 a  R. D0 X! o3 |: _) w3 [3 ?' L' h
    <BODY topmargin=2 leftmargin=2> ! R: l4 Y, H& u6 t4 m- ?
    <div align="center"> ( {/ ~3 @( n. @$ w' V
    <center>
    * W7 e; h8 D' z+ Q' q4 d3 i5 v<table border="0" width="300" cellspacing="0" cellpadding="0"><tr><td width="200">
    4 z9 L- {' m/ s2 y* D5 `2 K  U' W<center> " ^/ O) J' |; Z
    <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0" bgcolor="#000000"> . E" Q; B6 Y0 @2 l5 |
    <tr height="18">
    5 q; R' _4 f6 ~  X- e<td ID="240" width="18"></td><td ID="241" width="18"></td><td ID="242" width="18"></td><td ID="243" width="18"></td><td ID="244" width="18"></td> " y" v; U* U" Q3 G8 [
    <td ID="245" width="18"></td><td ID="246" width="18"></td><td ID="247" width="18"></td><td ID="248" width="18"></td><td ID="249" width="18"></td> 4 n+ E& |; \8 K/ W  f! K
    </tr>
    # g6 T% r0 j6 N( D' r$ ]. r1 u<tr height="18"> 5 J; C' a. R6 D$ i" T
    <td ID="230" width="18"></td><td ID="231" width="18"></td><td ID="232" width="18"></td><td ID="233" width="18"></td><td ID="234" width="18"></td>
    5 z) b' t6 m8 Z6 [; \$ n# Y<td ID="235" width="18"></td><td ID="236" width="18"></td><td ID="237" width="18"></td><td ID="238" width="18"></td><td ID="239" width="18"></td> ) {* o/ O* y% v; U2 a3 f5 V' v
    </tr> & `5 m: f8 k" p) D8 C. |. W! Z
    <tr height="18">
    1 D$ I. s: }; u# I* u<td ID="220" width="18"></td><td ID="221" width="18"></td><td ID="222" width="18"></td><td ID="223" width="18"></td><td ID="224" width="18"></td> , P+ @7 n, ?' |8 A2 r2 T. J
    <td ID="225" width="18"></td><td ID="226" width="18"></td><td ID="227" width="18"></td><td ID="228" width="18"></td><td ID="229" width="18"></td>
    $ F; g! k6 {1 ]</tr> & t; M$ ^" o& H- z" V* ^1 X% U
    <tr height="18">
    2 |6 J* a8 p6 G/ s4 R- ^<td ID="210" width="18"></td><td ID="211" width="18"></td><td ID="212" width="18"></td><td ID="213" width="18"></td><td ID="214" width="18"></td>
    - ^3 N4 S# s2 t& W% H8 _8 I<td ID="215" width="18"></td><td ID="216" width="18"></td><td ID="217" width="18"></td><td ID="218" width="18"></td><td ID="219" width="18"></td> & |$ }( i/ X( t+ a* a# {; M! T
    </tr> 5 g5 i, O  j: [: p# t/ P% e: J
    <tr height="18"> ! o- s. I/ q- Q' @( w( C5 S- ]8 Z
    <td ID="200" width="18"></td><td ID="201" width="18"></td><td ID="202" width="18"></td><td ID="203" width="18"></td><td ID="204" width="18"></td> 2 x* ?1 C. c' \! `! L
    <td ID="205" width="18"></td><td ID="206" width="18"></td><td ID="207" width="18"></td><td ID="208" width="18"></td><td ID="209" width="18"></td> 5 b( X" P* S0 ~0 g3 T
    </tr>
    7 d1 a  [  `: c% A: c$ ]9 P4 o<tr height="18"> 8 X. ~! O3 }$ D1 |
    <td ID="190" width="18"></td><td ID="191" width="18"></td><td ID="192" width="18"></td><td ID="193" width="18"></td><td ID="194" width="18"></td>
    , s2 {2 F/ c/ ^1 m, j<td ID="195" width="18"></td><td ID="196" width="18"></td><td ID="197" width="18"></td><td ID="198" width="18"></td><td ID="199" width="18"></td> # n& v- [+ O  K* f) T/ U% ?
    </tr> # M8 q% E+ B( F' G$ L0 b
    <tr height="18">
    % l! i6 \" {. r: {: V<td ID="180" width="18"></td><td ID="181" width="18"></td><td ID="182" width="18"></td><td ID="183" width="18"></td><td ID="184" width="18"></td>
    1 i: L( ]& E2 @6 U5 i<td ID="185" width="18"></td><td ID="186" width="18"></td><td ID="187" width="18"></td><td ID="188" width="18"></td><td ID="189" width="18"></td>
    6 [) q  Q5 _0 M( l2 N</tr>
    ( \, Q0 t, p9 b! |0 |" |<tr height="18">
    ) d7 ]3 q: N) v7 q<td ID="170" width="18"></td><td ID="171" width="18"></td><td ID="172" width="18"></td><td ID="173" width="18"></td><td ID="174" width="18"></td> . @; n! T) s! g- U; v; I7 V- D
    <td ID="175" width="18"></td><td ID="176" width="18"></td><td ID="177" width="18"></td><td ID="178" width="18"></td><td ID="179" width="18"></td>
    - x/ u6 l! ]# M4 a' i</tr> 8 }' ^3 s, u) c/ w
    <tr height="18"> ' R( ~; y0 k+ w9 s+ J# x# x* H0 w: h
    <td ID="160" width="18"></td><td ID="161" width="18"></td><td ID="162" width="18"></td><td ID="163" width="18"></td><td ID="164" width="18"></td>
    : V. j- G6 d: t  m7 P, @<td ID="165" width="18"></td><td ID="166" width="18"></td><td ID="167" width="18"></td><td ID="168" width="18"></td><td ID="169" width="18"></td> $ f' ?: A) @, m  R7 t$ ~
    </tr> : z! {- t" \, G) J% ?) i" v$ N* l
    <tr height="18"> 3 I4 x: A6 B# i9 Y, s8 r7 `
    <td ID="150" width="18"></td><td ID="151" width="18"></td><td ID="152" width="18"></td><td ID="153" width="18"></td><td ID="154" width="18"></td>
    3 b/ w3 K" z7 }: a' m" B6 J- [<td ID="155" width="18"></td><td ID="156" width="18"></td><td ID="157" width="18"></td><td ID="158" width="18"></td><td ID="159" width="18"></td> & d0 W* x- ]7 r3 }2 Z% Y
    </tr> ,
    $ t: [2 L) H+ X6 Q<tr height="18">
    5 L: s) ?! k! Y4 F5 O+ x4 m<td ID="140" width="18"></td><td ID="141" width="18"></td><td ID="142" width="18"></td><td ID="143" width="18"></td><td ID="144" width="18"></td>
    + x3 k  u3 d8 j  [0 C<td ID="145" width="18"></td><td ID="146" width="18"></td><td ID="147" width="18"></td><td ID="148" width="18"></td><td ID="149" width="18"></td>
    - z& v+ t- \( `5 |" ?</tr> 6 g# X4 [% Y( J2 W: R
    <tr height="18"> ' P8 a/ M! l( [9 \% F7 k" Z) F2 R3 d
    <td ID="130" width="18"></td><td ID="131" width="18"></td><td ID="132" width="18"></td><td ID="133" width="18"></td><td ID="134" width="18"></td>
    # S9 E. K9 n" b  J" s<td ID="135" width="18"></td><td ID="136" width="18"></td><td ID="137" width="18"></td><td ID="138" width="18"></td><td ID="139" width="18"></td>
    8 b9 @& Y1 j! i' `) R$ |8 g</tr>
    6 M5 \1 C6 u' ]: J  T<tr height="18"> 0 |7 A/ D# ^3 y. e* Q: x
    <td ID="120" width="18"></td><td ID="121" width="18"></td><td ID="122" width="18"></td><td ID="123" width="18"></td><td ID="124" width="18"></td>
    + w9 g% j$ N2 f" L$ i8 v<td ID="125" width="18"></td><td ID="126" width="18"></td><td ID="127" width="18"></td><td ID="128" width="18"></td><td ID="129" width="18"></td> # c) w' ]8 y! h* R4 P/ s; a
    </tr> 8 x4 d* W: U/ W/ A3 G7 k
    <tr height="18"> 6 `3 G& }9 p, [3 i
    <td ID="110" width="18"></td><td ID="111" width="18"></td><td ID="112" width="18"></td><td ID="113" width="18"></td><td ID="114" width="18"></td>
    1 @: O' v( q0 i  G: ^<td ID="115" width="18"></td><td ID="116" width="18"></td><td ID="117" width="18"></td><td ID="118" width="18"></td><td ID="119" width="18"></td> + c. J) }' O' J: u# R! N& T* ]
    </tr> ( A" I* w' U' r7 R
    <tr height="18">
    0 o( t( w1 P* W4 R* e<td ID="100" width="18"></td><td ID="101" width="18"></td><td ID="102" width="18"></td><td ID="103" width="18"></td><td ID="104" width="18"></td>
    8 s& L) Y/ n6 {7 V$ L" y<td ID="105" width="18"></td><td ID="106" width="18"></td><td ID="107" width="18"></td><td ID="108" width="18"></td><td ID="109" width="18"></td> / L& i6 J( y+ h! [' @2 }$ Z" K
    </tr> ' U. _2 t; j2 {0 F
    <tr height="18">
    . R- y3 L; U3 b( W  k5 M! ]3 ^<td ID="90" width="18"></td><td ID="91" width="18"></td><td ID="92" width="18"></td><td ID="93" width="18"></td><td ID="94" width="18"></td> 4 ?: q7 A6 b. A- j* Y0 C
    <td ID="95" width="18"></td><td ID="96" width="18"></td><td ID="97" width="18"></td><td ID="98" width="18"></td><td ID="99" width="18"></td>
    * {( [) f) k( }( t</tr> ( n" s" M  w  D& B
    <tr height="18"> 7 G2 N" X# S  ~) K5 A1 t: K
    <td ID="80" width="18"></td><td ID="81" width="18"></td><td ID="82" width="18"></td><td ID="83" width="18"></td><td ID="84" width="18"></td> # l2 C: _8 I. i; ~
    <td ID="85" width="18"></td><td ID="86" width="18"></td><td ID="87" width="18"></td><td ID="88" width="18"></td><td ID="89" width="18"></td>
    5 D7 t/ C6 P, x; T% u</tr>
    " b8 j  t* o( v, W* i<tr height="18">
      L% J+ v7 r1 I; G7 }<td ID="70" width="18"></td><td ID="71" width="18"></td><td ID="72" width="18"></td><td ID="73" width="18"></td><td ID="74" width="18"></td> 2 G) \( ~: W( ?4 i9 O& g0 o
    <td ID="75" width="18"></td><td ID="76" width="18"></td><td ID="77" width="18"></td><td ID="78" width="18"></td><td ID="79" width="18"></td> & h/ P" C; `0 n% R9 e+ c
    </tr>
    , V( r6 ~- ^% J1 N) Q' w<tr height="18"> 9 c# F& E9 i6 X% @  n
    <td ID="60" width="18"></td><td ID="61" width="18"></td><td ID="62" width="18"></td><td ID="63" width="18"></td><td ID="64" width="18"></td> ' g2 A1 @/ H* @* M! K5 K8 k- T
    <td ID="65" width="18"></td><td ID="66" width="18"></td><td ID="67" width="18"></td><td ID="68" width="18"></td><td ID="69" width="18"></td>
    ( Q  x4 u, O2 K' p3 U</tr> / J5 T1 E7 A3 R$ Q
    <tr height="18">
    7 m  K7 J6 \/ n% C<td ID="50" width="18"></td><td ID="51" width="18"></td><td ID="52" width="18"></td><td ID="53" width="18"></td><td ID="54" width="18"></td> # B% ?/ J0 M5 s) B! x
    <td ID="55" width="18"></td><td ID="56" width="18"></td><td ID="57" width="18"></td><td ID="58" width="18"></td><td ID="59" width="18"></td> 9 n  ?7 c2 ?. u& g; I: a
    </tr> 8 ~) }# H7 {# A7 v2 g/ t% ]
    <tr height="18"> + \0 n& U+ ^: ^. J
    <td ID="40" width="18"></td><td ID="41" width="18"></td><td ID="42" width="18"></td><td ID="43" width="18"></td><td ID="44" width="18"></td> : U9 v* D; r4 s, B8 K. B
    <td ID="45" width="18"></td><td ID="46" width="18"></td><td ID="47" width="18"></td><td ID="48" width="18"></td><td ID="49" width="18"></td> : c  d- L- Z. l( F+ V
    </tr>
    " \; I+ a0 G: Y; `& p" t. q<tr height="18"> 5 l, g$ E- p9 K6 J0 [6 A5 [
    <td ID="30" width="18"></td><td ID="31" width="18"></td><td ID="32" width="18"></td><td ID="33" width="18"></td><td ID="34" width="18"></td> , ~0 K* h8 S0 |3 h
    <td ID="35" width="18"></td><td ID="36" width="18"></td><td ID="37" width="18"></td><td ID="38" width="18"></td><td ID="39" width="18"></td> / z+ @2 a( J: z4 h4 h" R# }
    </tr> ! C4 Y$ ^( E& H/ x- Z
    <tr height="18">
    / T7 W5 y) ]4 c# ~<td ID="20" width="18"></td><td ID="21" width="18"></td><td ID="22" width="18"></td><td ID="23" width="18"></td><td ID="24" width="18"></td> 6 M+ z3 j5 P9 u& u) [
    <td ID="25" width="18"></td><td ID="26" width="18"></td><td ID="27" width="18"></td><td ID="28" width="18"></td><td ID="29" width="18"></td>
    : K. q/ m" A% j2 L</tr>
    " J- Y4 I0 A0 [1 @, c# e; ]<tr height="18">
    ; |5 g9 M: t+ p; v7 B2 ]<td ID="10" width="18"></td><td ID="11" width="18"></td><td ID="12" width="18"></td><td ID="13" width="18"></td><td ID="14" width="18"></td> , X3 }6 l5 |3 l* i' w  f
    <td ID="15" width="18"></td><td ID="16" width="18"></td><td ID="17" width="18"></td><td ID="18" width="18"></td><td ID="19" width="18"></td>
    ; c% P; g$ o1 k3 |</tr> % G6 b: b4 D  E1 R$ _+ Y- F1 m
    <tr height="18">
    ! A! i9 U7 s) V8 ]7 z<td ID="0" width="18"></td><td ID="1" width="18"></td><td ID="2" width="18"></td><td ID="3" width="18"></td><td ID="4" width="18"></td> % U3 o0 c0 h! ?9 v( _( a# i8 T) j
    <td ID="5" width="18"></td><td ID="6" width="18"></td><td ID="7" width="18"></td><td ID="8" width="18"></td><td ID="9" width="18"></td> 8 L( s8 X9 T* p
    </tr>
    - z7 Y2 P5 N+ \( p7 ~7 `% b</table>
    1 j) P, c  u( s7 r</center>
      ^* i6 N# Z* q- e7 ]* a1 }3 Q, y</td> + V/ J% i/ I) b) J
    <td width="100">
    ; c0 k# D' i" t% m; L<table border="1" bordercolor="#000000" height="452" width="100" cellspacing="0" cellpadding="0"> ; H. o8 {! M/ |, g. E
    <tr height="30">
    : ?$ W8 g0 p/ s4 B# P, y" s, ~* Y<td class=normalG align=center bgcolor="#FFFF00">俄罗斯方块</td>
    0 X5 z5 r. h. B6 A1 e" @! V! ?</tr> $ B+ m( {: ]7 l  s2 ]
    <tr height="20">
    7 t, R* U# J% U<td class=normalD align=center bgcolor="#FFCC00">提示区</td> ! e  }) n! r& d+ c4 x
    </tr>
    7 |5 B/ b% z1 O2 M8 r' W<tr height="100"> 1 F) X9 x( n9 f5 X( ~" M
    <td bgcolor="#FFCC00">
    8 {- `, r2 ]) Q: ]& k<!-- Inicio Preview -->
    4 e3 q3 D7 T" q: J) ^. }5 D5 ?" w<div align="center"><center><table border="1" cellspacing="0" cellpadding="0" bgcolor="#000000"> , C9 P) T8 T2 i
    <tr height="18"> ' ]& X3 F+ X- G7 f+ d: F
    <td ID="P0" width="18"></td><td ID="P1" width="18"></td><td ID="P2" width="18"></td><td ID="P3" width="18"></td>
    , e4 [7 m( l+ Y" V+ F% v3 {, J; o</tr> $ H5 ~6 ?1 L* {% F% p! l+ W7 b
    <tr height="18"> . [$ H7 @& c# T/ o2 ^) s% Z# u# x
    <td ID="P4" width="18"></td><td ID="P5" width="18"></td><td ID="P6" width="18"></td><td ID="P7" width="18"></td>
    9 X* C6 S. `/ x% u4 n3 @$ X1 n/ X- V</tr>
    % E2 Q- s; V& B<tr height="18"> & {" E) p( D6 h& f& [8 A' J
    <td ID="P8" width="18"></td><td ID="P9" width="18"></td><td ID="P10" width="18"></td><td ID="P11" width="18"></td> 0 L" \- g8 ?* k2 z# Q" ^  Y
    </tr>
    0 t  _. g. L2 N</table></center></div> 1 |7 x1 g* W9 B
    <!-- Fin Preview --> . B" y9 o' \4 w
    </td>
    & O# ^5 |3 w' G* Q4 _7 S( z</tr> 5 E5 A( d2 N. a' ?& m
    <tr height="32"> * s- ?3 d9 c5 a! m" t) r2 w
    <td ID="Sco01" align=center bgcolor="#009900" class=normalh onmouseover=Mmove(“I“) onmouseout=Mmove(“O“)>得分</td> , m/ n( \6 X% X5 i# M5 G0 V/ T
    </tr> 9 k% \* s8 M; V9 u7 M
    <tr height="32">
    ' g: {' x( v0 ~% B: E4 P/ `<td ID="Sco02" align=center bgcolor="#FFFF00" class=normalh>0</td> + R* ]$ r; Y* C" G3 \. [
    </tr> : S* M0 a) w) N% v' u( R
    <tr height="32"> ) _8 A1 a  J, [% c- ?9 M. t9 m
    <td ID="In01" align=center bgcolor="#009900" class=normal onmouseover=Mmove(“I“) onmouseout=Mmove(“O“)>水平</td>
    $ w, N& M# ?) ?8 f& k, ?) x</tr>
    9 k0 C$ c4 D6 @4 w<tr height="32">
    " C3 u0 `3 r' q<td ID="In02" align=center bgcolor="#FFFF00" class=normal>1</td> 5 N9 [3 N$ L' ]$ F: ?, m
    </tr>
    * R/ d  ]2 T% j! B' ?9 j<tr height="32">
    " i9 ~5 h- D: X5 M$ F6 T% a<td ID="In05" align=center bgcolor="#009900" class=normalh onmouseover=Mmove(“I“) onmouseout=Mmove(“O“)>块</td>
    0 Z+ |4 u3 D+ ^# u! w</tr> " M% D, \/ l9 T
    <tr height="32">
    % s4 T3 k4 q5 k" }+ s0 w! \<td ID="In06" align=center bgcolor="#FFFF00" class=normalh>1</td>
      Y0 u' l8 X. N. ]</tr> 3 f) _$ l3 a' ^7 h
    <tr height="32">
      h7 w6 K: M5 ]<td ID="In03" align=center bgcolor="#009900" class=normalh onclick=Iniciar(“i“) onmouseover=Mmove(“I“) onmouseout=Mmove(“O“)>开始</td>
    ' {5 ^% D7 A& E6 Y9 j5 V</tr> 2 b1 x/ I# y" |, h
    <tr height="32">
    / F. `9 S, s# J3 J) V<td ID="In04" align=center bgcolor="#009900" class=normalh onclick=Iniciar(“d“) onmouseover=Mmove(“I“) onmouseout=Mmove(“O“)>结束</td> * K* S- F/ U4 L0 x- ]
    </tr> + B" C8 d# b% v8 n- t) O
    <tr height="38">
    4 n) W' d& D6 Y# Z<td ID="In09" align=center bgcolor="#009900" class=normalh onclick=self.close() onmouseover=Mmove(“I“) onmouseout=Mmove(“O“)>关闭窗口</td> 5 q( ], C  F3 ~/ h  U! |
    </tr> $ s+ T) t+ O6 j$ W8 H2 \9 I; E
    </table> 2 ?% k" z& j4 N# P7 J* \
    </td></tr></table></center></div> : L3 E# s5 ?5 s7 n) ~
    </BODY>
    , [2 {6 U0 S7 F' J5 v. X9 k<SCRIPT LANGUAGE=vbscript> & S) [' f) G* C
    Dim Timer1,HastIni,LevlIni,Namn,Score,Levl,Hast,Fig,Fig2,Farg,Farg2,X,Y,Rot,Rot2,tratt,Pausa,ScrPau,Pos,GOver
    " M/ U6 M7 J# c1 f! R1 ?! s( r& ^Dim hs(),sor(),hsant(),n(),s(),s2(),s3() ! E" ]# v, E$ @" y- C
    redim hs(3, 15, 2):redim sor(3, 15):redim hsant(3):redim n(10, 25):redim s(5, 4):redim s2(4, 4):redim s3(4, 4) & h- G4 m8 O' g8 e
    LevlIni = 1
    0 e" B% o7 Q/ G$ w2 N; ePausa = False 2 w- f+ e4 _4 b3 B/ g6 k& n
    HastIni = VelLevel(LevlIni)   e4 Z6 q6 r( q" H
    Hast = HastIni 6 i4 A* T. N7 u* L* @. t
    Levl = LevlIni
    0 n, A/ n5 D4 ?$ [, DPos = Levl - 1 ! a& @: ~4 E3 `  {! p2 n
    ColorForm . N9 [0 g, S6 O1 A
    GOver = false
    # M# l6 b+ D9 S/ z/ a7 f& {/ Efunction Iniciar(ind)
    / S- ]' B6 I; g2 Y6 }if ind = "i" then 5 _; B) E6 R( j  j- ?( N
    score = 0
    ! N% S* t9 Y( f5 a1 O* J/ t+ IGOver = false
    : h0 T! F; k- F- E! [0 R( @Hast = HastIni
    9 s$ ]" Y/ w; }6 l* }Levl = LevlIni
    ' Y# t- D* G/ m9 m# Y7 J  tPos = PosLevel(Levl) 6 l# H" Y% n! J$ g4 [8 T: l
    For i = 1 To 4:For i2 = 1 To 4:s2(i, i2) = False:Next:Next
    2 e( Z1 g# L" M8 @9 S2 h& d# dFor i = 1 To 10:For i2 = 1 To 25:n(i, i2) = False:Next:Next
    ! P# u5 k- d5 P" nTimer1 = window.setInterval("Andar()",Hast)
    ! e- _* s% |' y( F+ {! iColorForm
    ) \3 s* s% _$ r1 VFig2 = 0
    ( Z2 i: e, P4 DNyfig , |4 T$ U3 Q# M  g7 m, V
    else
    9 g' ^( d- ?: C, t$ R! @; Ewindow.clearInterval Timer1
    8 `- z6 A0 F0 W* f  Bend if
    # }- `& v7 \3 m/ U( {* n4 Pend function
    ( a! w, ^4 l5 |Sub Nyfig() 7 L" Z' m* o* G6 V$ X9 I4 ]" V
    Pos = Pos + 1 5 E* M8 O& r* i( W- ?1 [
    document.all("In06").innertext = Pos
    ( u: B- Z2 H- E/ w( |Select Case Pos
    1 z7 i" A7 a) }1 M% W) ZCase 30: Levl = 2: Hast = VelLevel(Levl): window.In02.innerText = Levl
    " s$ m* m9 M/ K1 K4 E$ |7 NCase 60: Levl = 3: Hast = VelLevel(Levl): window.In02.innerText = Levl 9 y& S- t1 Z) z* A# z, h
    Case 90: Levl = 4: Hast = VelLevel(Levl): window.In02.innerText = Levl 1 A& N# c$ J; I; f
    Case 120: Levl = 5: Hast = VelLevel(Levl): window.In02.innerText = Levl 2 [. O/ k0 n( [. v
    Case 150: Levl = 6: Hast = VelLevel(Levl): window.In02.innerText = Levl : ~$ y! X5 z! i9 g8 Z
    Case 180: Levl = 7: Hast = VelLevel(Levl): window.In02.innerText = Levl : N) ?! y. s$ L+ d# p; \
    Case 210: Levl = 8: Hast = VelLevel(Levl): window.In02.innerText = Levl * E1 g$ x3 n- U2 l
    Case 240: Levl = 9: Hast = VelLevel(Levl): window.In02.innerText = Levl ) N% ?2 N0 \/ G1 ?: H2 @& L$ H
    Case 270: Levl = 10: Hast = VelLevel(Levl): window.In02.innerText = Levl
    6 u5 K, E2 O4 g+ C' \Case 300: Levl = 11: Hast = VelLevel(Levl): window.In02.innerText = Levl ! b) ~& @. D9 u1 N* g* S
    End Select
    ( W( k9 {# [% g3 J  Kwindow.clearInterval Timer1 , @2 {# e) U% w5 `+ U2 w' ?
    Timer1 = window.setInterval("Andar()",Hast)
    1 c+ m: Q) ?& s% H& OFig = Fig2 1 S* Q; {" w6 G1 ?0 M* P
    Farg = Farg2
    7 ?. \4 B$ H. [) ^8 f* qFig2 = Int(Rnd * 7) + 1
    ; E* L& {3 w& a) ]* ZX = 4 * t1 i/ {1 \- [3 i# ]5 h
    Y = 26 ( a& O: v3 K# I" u3 ^, l0 Q- Z7 d
    Rot = 1
    7 c3 L$ m0 c, y- W! x* f; ~For i = 1 To 4:For i2 = 1 To 4:s(i, i2) = s2(i, i2):s2(i, i2) = 0:Next:Next
    + Z  u, I7 g7 U1 k+ D+ ySelect Case Fig2
    2 I& h) @, |, s7 E! U6 _/ ^5 f0 hCase 1:s2(2, 2) = True:s2(3, 2) = True:s2(2, 3) = True:s2(3, 3) = True:Farg2 = "#FF0000" - v! l5 k0 b6 D" T
    Case 2:s2(1, 2) = True:s2(2, 2) = True:s2(3, 2) = True:s2(4, 2) = True:Farg2 = "#33CC33" / |) V! K/ c' D8 r  W( e, ?
    Case 3:s2(2, 1) = True:s2(3, 1) = True:s2(3, 2) = True:s2(3, 3) = True:Farg2 = "#FF9900"
    # P( t. }6 H( ^, s$ E# _Case 4:s2(3, 1) = True:s2(2, 1) = True:s2(2, 2) = True:s2(2, 3) = True:Farg2 = "#666666" $ }3 t0 H! N* y
    Case 5:s2(3, 1) = True:s2(3, 2) = True:s2(3, 3) = True:s2(2, 2) = True:Farg2 = "#CC00CC" + u, v" g$ P8 d+ A8 q
    Case 6:s2(2, 1) = True:s2(2, 2) = True:s2(3, 2) = True:s2(3, 3) = True:Farg2 = "#6666FF" 0 S' {  x% ]. g2 m1 p% ~6 _) ^
    Case 7:s2(3, 1) = True:s2(3, 2) = True:s2(2, 2) = True:s2(2, 3) = True:Farg2 = "#33CCCC" # |4 H, p4 B0 `$ Q- }
    End Select 8 C* D( v2 p$ v* p' B( u
    For i = 1 To 4 / V+ w& h  V, i
    For i2 = 1 To 3
    1 e1 C$ P) h2 @, u+ k2 L  xdocument.all("P" & cstr(((i2 - 1) * 4 + i - 1))).bgcolor = "#000000" " x4 {" U! b7 O% Y8 x7 e
    If s2(i, i2) = True Then
    2 O4 M, v( n5 p1 o! s" C: edocument.all("P" & cstr((i2 - 1) * 4 + i - 1)).bgcolor = Farg2   n# l; W; x: C$ N+ t8 q( v; V
    End If
    $ f1 ~8 V7 ^# ^8 O5 eNext 0 Y/ x( J5 I" v1 ^! j% W
    Next # I) D) `$ x3 V& m9 t
    End Sub
    1 p6 w1 o( I6 [/ @$ c* n4 mFunction PosLevel(Lev) 3 ~; T$ [( F  N3 O! a
    Select Case Lev + ^3 R5 Y) b, U
    Case 1: PosLevel = 1 + O; ^* \- m5 j) M/ a/ I8 k
    Case 2: PosLevel = 51
    5 G% T6 W. a/ C* y. F4 w# a3 b9 cCase 3: PosLevel = 81 4 J5 t2 m+ f* X0 v. k9 G
    Case 4: PosLevel = 111 , ^9 M; ]$ M- g8 o) {/ A
    Case 5: PosLevel = 141 # J3 r" w+ t  d* E; X
    Case 6: PosLevel = 181
    ( Q* N; t9 z) C+ f9 _Case 7: PosLevel = 221 ; A" ~, B! T# J5 x
    Case 8: PosLevel = 261 ) Z) Z* ^, x8 z" }# O
    Case 9: PosLevel = 301
    ) Y) B5 Q( w6 h& d( j9 dCase 10: PosLevel = 341 : Y! ?0 K3 u: ?7 c4 A, A( N
    End Select
    4 m1 p+ x4 Q- H2 rEnd Function
    ! C+ F, \8 a, H2 a“いいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいいい 2 Z7 T7 T( a; _' |
    Function VelLevel(Velo)
    , R- ]) R+ Q# |8 Q3 ~5 CSelect Case Velo
    ; G9 ~6 W& P& A( qCase 1: VelLevel = 500
    * b. |" E- j: ?: n2 x1 FCase 2: VelLevel = 450
    * O8 X" Z: h% t" c" |Case 3: VelLevel = 400 4 u7 E3 L/ \- h1 h3 C, v3 u- A
    Case 4: VelLevel = 350 * {( p+ n4 L% e: Q, M5 \4 w
    Case 5: VelLevel = 300 $ M8 `! X6 ?0 O
    Case 6: VelLevel = 250 $ {% m; k' T, B; l4 D; f3 I
    Case 7: VelLevel = 200 ' U- m: l; K% t7 P* o
    Case 8: VelLevel = 150
    8 w5 n$ D0 j. }% c2 iCase 9: VelLevel = 100 + v+ j8 L: O5 V- W) `, j4 l6 W" T
    Case 10: VelLevel = 50
    ; h1 T; f' \) U6 b7 B0 ?Case 11: VelLevel = 10
    % f: V( y6 S' c. S7 D, YEnd Select , J3 c8 Y+ Z; n" k" \; c
    End Function ; b/ V+ K3 w! X2 b( X* ?
    Sub ColorForm() 2 ?2 L0 P3 l/ y' C0 ]4 d; k0 p
    For i = 0 To 11:document.all("P" & cstr(i)).bgcolor = "#000000":Next
    . r. Y1 `" _; q0 `For i = 0 To 249:document.all(cstr(i)).bgcolor = "#000000":Next
    0 ]% E0 C, P) x. H4 MEnd Sub
    ) S* y; d" d+ a+ D% Yfunction Andar()
    * A# r3 v" n; m% Z" `1 x; AFor i = 1 To 4 ) P" u" I5 }% W5 D/ e0 ~% l
    For i2 = 1 To 4
    $ `( }) U9 \0 `If s(i, i2) = True And Y - i2 + 1 = 1 Then Fig = 0 0 X" F& n# s% U# E! i1 e
    If Y - i2 > 0 And X + i - 1 > 0 And X + i - 1 < 11 Then
    % [2 ?3 o! M5 L, Q9 I3 j  K0 QIf s(i, i2) = True And n(X + i - 1, Y - i2) = True Then Fig = 0
    3 e! O9 e& C1 S1 J* b# }/ A% zEnd If
    " }& L3 p  e5 N$ LNext
    & \8 X& i& Z  U9 Q! ]Next
    ! I3 j: N; g* w" W3 IIf Fig = 0 Then 5 G: S3 U3 x  M) \" o
    For i = 1 To 4 / m- N# j  U7 K" x3 y
    For i2 = 1 To 4
    3 x+ K0 n. q  V2 e" OIf s(i, i2) = True Then n(X + i - 1, Y - i2 + 1) = True
    . s, x. n# o+ y4 h4 t0 O# bNext
    5 c. w; b( b6 u/ C: ^- S; `0 `) d9 hNext
    # ~- B- I7 K8 vNer : r) L, }2 }6 O6 T9 g
    Nyfig + c4 u& {! K2 H# ^6 H
    Else 0 r1 y( ^5 L4 t
    For i = 1 To 4
    ' |) `3 a' b9 j7 z  uFor i2 = 1 To 4 2 j! r+ P+ z% j
    If s(i, i2) = True And s(i, i2 - 1) = False Then ! r: u0 g) s0 w( r7 S) ^7 y2 X
    document.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor = "#000000"
    - U) q0 V& M2 d: i* j7 o% YEnd If
    . _) i" I# j3 g" J( X, j( VNext % m; r. @5 G) m. V% t  P' J1 C
    Next , t% y4 h/ D2 i$ k
    End If
    / g0 l( a+ q; w' s3 y; |5 xY = Y - 1
    0 y3 e( R, E- h: U9 B+ [8 KFor i = 1 To 4
    ; n# i# \& {4 {8 m/ ]For i2 = 1 To 4 6 x% k" K" a0 l3 Z/ d' B0 ^
    If s(i, i2) = True Then 8 @, X8 O5 r6 ?' S: x+ b. G
    if not gover = true then
    # U, j3 s% P" v& j0 P4 G% HIf ucase(document.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor) <> "#000000" And ucase(document.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor) <> Farg Then
    : p3 e4 y6 C7 \Gameover ' n+ z- R8 M4 _  Q* @
    end if
    3 `  z8 ~8 [1 k/ ~/ E5 ~( Mend if 8 q1 d. P. c7 b) p; q" S7 a
    End If 9 C( [+ u5 O: ^" o# |( F
    If s(i, i2) = True Then 0 Q3 n' t# y$ z
    document.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor = Farg
    # l; x4 q! G- B, M' fEnd If
    $ a; C* P. S% |- C1 b" BNext " D  F, F$ r& j4 r8 B
    Next 9 ?8 y: g& A0 {* {
    end function
    2 _. j4 e: D2 h3 P/ R& X: cSub Gameover()
    : [7 e9 v+ a# ~. p) b1 G8 t9 [MsgBox "游戏结束!", , "俄罗斯方块"
    ) W4 V0 b5 t8 X/ b+ Ywindow.clearInterval Timer1
      z' n$ j0 _* CGOver = true
    8 \6 K$ y8 M  }  [+ TEnd Sub
    0 H8 s# N! b, iSub Ner() ' ~+ Q3 {; k" o# G: k4 m  |; I9 h
    Score = Score + 10 / `, L7 Y) m& Z
    document.all("Sco02").innertext = Score   @9 p. J) z0 N" j7 M
    For i2 = 25 To 1 Step -1
    1 |& J; z- @; A9 K$ K% Rok = 1
    2 B+ J# S. r7 N4 U( l' RFor i = 1 To 10 " g" a: v  a  I$ X. v) O& U
    If n(i, i2) = False Then ok = 0
    . Y. [  ~$ J9 `1 S) T# c" b9 d; D' sNext 9 B4 V0 c: I6 r6 W
    If ok = 1 Then . d: \& b) `: s4 r7 M# ?7 A4 j
    Score = Score + 150
    + }2 j  V, K% ~, qdocument.all("Sco02").innertext = Score . J; E' [: \6 O4 i- M2 F7 H
    For i = 1 To 10 ' x* B1 u: c+ a
    For i3 = i2 To 24
    8 e) U1 f7 l* }, y* a+ ~( nn(i, i3) = n(i, i3 + 1) $ C3 X4 T2 D6 W2 Q; l
    document.all(cstr(coor(i, i3))).bgcolor = document.all(cstr(coor(i, i3 + 1))).bgcolor
    $ Q" L# q' W1 ]/ d  T7 HNext + k1 Z! E8 g, B8 D) _
    Next , Z0 N- A  s/ J* U
    End If & j' i7 C$ |0 A$ v
    Next : }- x) p) o% p/ m# P
    End Sub
    ' L* J$ S$ L# x) B/ x: f. RFunction coor(xx, yy) - }, h, ~" r& h, g% m, ~# k! }
    coor = (yy - 1) * 10 + xx - 1 ) ]: J% F4 H8 z8 ^1 j8 b" u: _) I; O
    End Function ) x, s6 T5 V, M8 x' I4 V9 z" x
    Sub Rota()
    # k6 r3 _2 C% \: A! s& qRot2 = Rot + 1 , ?/ d7 w4 L- P. ]& J. f1 ?
    If Rot2 = 5 Then Rot2 = 1
    : [! V4 r  @( ]( s9 h2 UIf (Fig = 2 Or Fig > 5) And Rot2 = 3 Then Rot2 = 1 , o2 m% ^! o# ], o; _1 r- K0 q! Y
    For i = 1 To 4 ; k$ t$ `. R) w/ k3 N
    For i2 = 1 To 4
    ) R( H- T( O- f# l' F" J$ c8 _s3(i, i2) = 0
    & }; G$ U% ]( X: u' _# a0 G# rNext
    % S/ R& A" J$ Q- v/ S2 f, zNext % m- v- K8 Z" M3 e3 Y* T' e
    Select Case Fig & a( p* A+ D, H' H5 |2 ]5 K: y
    Case 2
    2 d: ]) k; a3 U7 fSelect Case Rot2
    . p' Q. l5 R1 c' ACase 1:s3(1, 2) = True:s3(2, 2) = True:s3(3, 2) = True:s3(4, 2) = True 7 s" `9 ?1 b; o: J& I/ c
    Case 2:s3(2, 1) = True:s3(2, 2) = True:s3(2, 3) = True:s3(2, 4) = True / J$ j7 c  [  z9 @: L- Q! D4 C" J
    End Select
    # k2 B' W2 k& t* A+ zCase 3 6 A# @: s0 d& H. `! Y
    Select Case Rot2 % L+ d* `. Q! P9 V& U8 F, R& b
    Case 1:s3(2, 1) = True:s3(3, 1) = True:s3(3, 2) = True:s3(3, 3) = True 4 G) D0 j4 U+ e8 O( R
    Case 2:s3(4, 1) = True:s3(4, 2) = True:s3(3, 2) = True:s3(2, 2) = True - B7 v* V1 M1 J* i8 c% I
    Case 3:s3(3, 3) = True:s3(2, 3) = True:s3(2, 2) = True:s3(2, 1) = True
    4 n( S' n4 Q1 D/ j0 ]- q$ WCase 4:s3(2, 2) = True:s3(2, 1) = True:s3(3, 1) = True:s3(4, 1) = True
    5 g5 E) Z& b; s6 p: Y" l7 mEnd Select : U; i6 I/ R) C# r( q1 Q2 @8 I4 ^" z
    Case 4 ) ]8 e+ [" Z  `- t+ ^* v1 J( F6 _
    Select Case Rot2 & x! W. i6 K5 F& u% x, ~
    Case 1:s3(3, 1) = True:s3(2, 1) = True:s3(2, 2) = True:s3(2, 3) = True . S0 Q4 G9 `2 P9 ?* v1 {6 W
    Case 2:s3(2, 1) = True:s3(3, 1) = True:s3(4, 1) = True:s3(4, 2) = True
    7 u% ^7 y* O1 V! vCase 3:s3(3, 1) = True:s3(3, 2) = True:s3(3, 3) = True:s3(2, 3) = True
    + Y0 u* I* Z' i1 @$ b- QCase 4:s3(2, 1) = True:s3(2, 2) = True:s3(3, 2) = True:s3(4, 2) = True
    + C) l1 ?9 ~% [+ V0 A4 qEnd Select
    9 W; Q/ n* _$ r6 {3 WCase 5
    4 G5 c( U' `( o! S; l* qSelect Case Rot2
    2 i; _$ g9 ^. ^" ~: G; e- D2 WCase 1:s3(3, 1) = True:s3(3, 2) = True:s3(3, 3) = True:s3(2, 2) = True
      l. h. |# I" g1 Q) oCase 2:s3(3, 1) = True:s3(2, 2) = True:s3(3, 2) = True:s3(4, 2) = True , |5 B6 h: h- S
    Case 3:s3(2, 1) = True:s3(2, 2) = True:s3(2, 3) = True:s3(3, 2) = True 7 k. g/ ?! u( M" m* F' d; r
    Case 4:s3(2, 1) = True:s3(3, 1) = True:s3(4, 1) = True:s3(3, 2) = True
    5 x+ F- J% X% o2 V1 Q& V4 p7 sEnd Select " I$ O) B; G) G) W, T6 Q- R
    Case 6
    : |/ x  t4 t" rSelect Case Rot2
    1 D& [# ?6 ^0 y  k9 a: ACase 1:s3(2, 1) = True:s3(2, 2) = True:s3(3, 2) = True:s3(3, 3) = True
    1 E) Y- `: l+ \Case 2:s3(2, 2) = True:s3(3, 2) = True:s3(3, 1) = True:s3(4, 1) = True
    + ]: q/ p4 ]/ C8 |7 lEnd Select 9 R; V& [% c9 _" T
    Case 7
    + B3 s: [4 R2 r" |Select Case Rot2
    / _' _9 \4 {5 V3 H  tCase 1:s3(3, 1) = True:s3(3, 2) = True:s3(2, 2) = True:s3(2, 3) = True
    . {/ O2 k% v9 ^3 w! I) X- M4 qCase 2:s3(2, 1) = True:s3(3, 1) = True:s3(3, 2) = True:s3(4, 2) = True
    6 A) e" B) x7 q6 }End Select + l: O2 b5 {5 n. Y
    End Select # W7 y1 n' w6 N/ u
    ok = 1
    ! f0 X1 e! P: ZFor i = 1 To 4
    - l+ D! x! w" @+ RFor i2 = 1 To 4
    6 M8 c: e7 K1 E0 [) f1 U9 cIf s3(i, i2) = True Then 6 _2 m. z' \3 n* N$ P; E
    If X + i - 1 < 1 Or X + i - 1 > 10 Or Y - i2 + 1 < 1 Then ok = 0
    : r. \7 j: k0 b  L* }0 w6 x2 vIf ok = 1 Then
      ]& d& G# z4 f- x  w4 A# P& uIf n(X + i - 1, Y - i2 + 1) = True Then ok = 0 9 G' q1 O& m) e8 U$ C8 ]
    End If " V$ C8 R) O0 K$ G3 d4 J: D
    End If ! o5 d' K- y" m8 G) N& r4 }
    Next : @' z3 j. p* h( E
    Next . }* n, Y0 N" x- i# ~2 W0 d$ p
    If ok = 0 Then Exit Sub
      r& g9 H3 k+ b  ]( ZRot = Rot2   \; ^& N7 `3 W
    For i = 1 To 4 7 A/ g" _: d. f9 {$ B- b
    For i2 = 1 To 4 + W+ Q; @9 e' B1 B6 E3 g  r
    If s3(i, i2) = True And s(i, i2) = False Then
    9 y* K5 T# s7 p# i9 cdocument.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor = Farg 2 W1 P, m; B6 e5 C" M5 A- l+ G/ M4 E
    End If
    $ y  h. Q, \0 ]0 O  t( n! o# b4 ]If s3(i, i2) = False And s(i, i2) = True Then + J8 |% S) ]! n3 l% O
    document.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor = "#000000"
      _0 L1 z( k! z8 A* KEnd If
    & t6 X0 T0 k1 I2 Ps(i, i2) = s3(i, i2)
    8 U1 y. w% x4 L+ X7 Y9 X3 dNext & G. K4 w+ d+ c
    Next
    & p/ Y0 N: U( p! p% zEnd Sub
    $ d9 m$ z( }+ R" CSub document_onkeydown ; t6 R, K  y; E$ {7 |2 v3 g
    If window.event.keyCode = 27 Then msgbox "Pause",,"TET" ! W, A/ k$ _- l1 S
    If window.event.keyCode = 80 Or window.event.keyCode = 114 Then iniciar("d") & L+ `; F: }3 V. x9 x7 u) x
    If window.event.keyCode = 113 Then iniciar("i")
    1 X- l7 D. X2 ?0 I( ~8 rIf Not Pausa = True Then
    % B: A, `7 w, ~5 ^) q  ]If window.event.keyCode = 38 And Fig > 1 Then Rota
    , b$ _2 g$ \4 J+ t- {7 ?7 RIf window.event.keyCode = 37 Then ! Y( @3 v5 n* K
    ok = 1
    5 E2 ]( @4 V" u3 J; B- `For i = 1 To 4 , \" `: V" g) @& x! I' ^
    For i2 = 1 To 4   y9 y+ ^/ K( D9 H7 R% k. M: G
    If s(i, i2) = True And X + i - 1 - 1 > 0 Then 8 H3 I- i" z0 g" N; A
    If n(X + i - 1 - 1, Y - i2 + 1) = True Then ok = 0
      G5 T/ v! J2 D  Z6 qEnd If
    " o6 L. |) ?% ?  k' s! ?) F, y9 TIf s(i, i2) = True And X + i - 1 - 1 < 1 Then ok = 0 * k$ E' I& J6 l, y" i& M
    Next " _2 P7 a5 c% H' r/ R/ B
    Next - ^4 c0 A2 p0 A
    If ok = 1 Then # d. r. m: \# z5 I( i% ^! g
    X = X - 1 . f1 I. o% n% v% c
    For i = 1 To 4 2 G4 U% Z4 x8 s4 z* e
    For i2 = 1 To 4
    ( `7 ]- w2 u  S% ]If s(i, i2) = True Then
    0 w8 \  i& c- U, pIf s(i + 1, i2) = False Then
    2 R/ z: b9 y* k" B4 u) mdocument.all(cstr(coor(X + i, Y - i2 + 1))).bgcolor = "#000000"
    6 A# U& C3 R2 t( O7 Z% wEnd If
    / A: [' s3 r. I, V% k$ N- {End If $ g, W# |, H# u$ [, F6 l
    If s(i, i2) = True Then
    $ Q, X' {1 s  z2 }0 X) ydocument.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor = Farg
    ! }; T/ S, q% yEnd If
    * F7 S( P% f5 I) b1 BNext 4 Z9 ]5 O! j2 U" B1 w7 K
    Next   T. G; L- d! |- W
    End If
    3 S: Q& j% y9 V) gEnd If 4 A1 E( n$ C) C6 d
    If window.event.keyCode = 39 Then
    8 z- d7 I! a+ W+ `4 P# g) Mok = 1
    % W$ a. ?* L+ k; AFor i = 1 To 4 # }6 @; v. \! X9 \  F- X
    For i2 = 1 To 4
    ; P# y& J7 t3 S' kIf s(i, i2) = True And X + i - 1 + 1 < 11 Then
    - M8 U8 H+ o8 ~4 QIf n(X + i - 1 + 1, Y - i2 + 1) = True Then ok = 0
      f3 e6 U! m2 `; SEnd If + W  T- F( v4 w4 W- b
    If s(i, i2) = True And X + i - 1 + 1 > 10 Then ok = 0 % @1 f% H3 F, n0 T
    Next " _+ K  N* }% Z; g6 `. h5 c
    Next ' B- I& x5 G$ T1 _) a
    If ok = 1 Then
    5 x2 N& V% O7 J6 ^/ LX = X + 1 3 R. k: x8 }% J$ r8 z
    For i = 1 To 4
    . l, M& f3 D" [1 WFor i2 = 1 To 4
    0 |% L$ P7 i8 J1 l2 S% hIf s(i, i2) = True Then ; v. Z5 m7 t' v, f# @7 X
    If s(i - 1, i2) = False Then
    ! ?$ U* g: a& h! o8 \document.all(cstr(coor(X + i - 2, Y - i2 + 1))).bgcolor = "#000000" : Z, h1 y$ f* a
    End If
    # C% U3 q7 y9 VEnd If & n2 b) A" l5 u; S, I7 {
    If s(i, i2) = True Then % i8 N# o8 z5 z2 \2 n! a
    document.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor = Farg
    . k  s$ o7 }$ i) D) Z' o; J% O( GEnd If % Z0 T1 c/ U: G  S. v9 ^0 K
    Next
    ' [% D+ Y' ^7 U( X4 [2 JNext
    7 L8 Q( V; ^% f5 n- _- NEnd If + I; w# B& t# S6 C  @% \
    End If
    ) \$ A0 m6 t+ y+ t) M% y. U7 G“Aqui & U# I9 G; Q7 e1 L
    If window.event.keyCode = 32 Or window.event.keyCode = 40 Then 1 m5 a2 }- l6 A) {2 \* k
    If Fig > 0 Then ' ^+ H! W$ T, C
    For i = 1 To 4
    ! ?' s% S, U$ D, }7 sFor i2 = 1 To 4 ! S/ P# D* N3 Y# h% P, A* ?
    If s(i, i2) = True Then
    : r* q% ~( o, k0 xdocument.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor = "#000000" % E/ K1 O) h5 h% z3 l
    End If . W8 \7 @2 n! `8 C
    Next
    $ w1 ?1 y9 q3 ANext
    4 p5 ]# M5 K' w2 {0 I; |Do 5 u# F* ^0 y* ]' P/ D
    Y = Y - 1 ' Q  |) r2 P: P8 V3 N' H
    For i = 1 To 4
    + a  l/ x0 s$ l; b. t* x. I5 l8 V/ wFor i2 = 1 To 4
    ) z3 c* K  Z2 g; H+ o/ u7 b" A9 fIf s(i, i2) = True And Y - i2 + 1 = 1 Then Fig = 0
    * x8 c4 v% v4 i0 m! U7 |1 aIf Y - i2 > 0 And X + i - 1 > 0 And X + i - 1 < 11 Then
    ' }5 P' k) F: a# d9 h- h  G! oIf s(i, i2) = True And n(X + i - 1, Y - i2) = True Then Fig = 0 ! y& Y" {0 x0 N9 L$ E
    End If ( v2 _1 A) _$ f$ ]: W7 m6 F
    Next 9 P' {( A! Y$ r1 O! T3 ^
    Next ( J# `& J: Z1 o  ~9 E/ e) _
    Loop Until Fig = 0 6 I* f( W8 k0 Z+ @9 N
    For i = 1 To 4 ( R; _) N7 Y! D+ ]) g, V
    For i2 = 1 To 4
    . x) f% R9 Q2 ]& t" w* qIf s(i, i2) = True Then
    % o5 o# G3 y/ m3 ~document.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor = Farg
    0 A4 p7 E# J+ K6 o& O# XEnd If
    7 p9 p! J1 d4 j; QIf s(i, i2) = True Then n(X + i - 1, Y - i2 + 1) = True 2 Q  P. d5 d# x( a: ^
    Next ' v! F; i$ k: F& h
    Next
    , u% H. r2 L! L2 x$ UEnd If
    ) u  G) G2 E8 n0 t6 Q- h4 b# D- k$ i4 O3 HEnd If
    % `& |2 U% J" K3 Z6 w( m3 {End If
    " u8 ]* R7 K: F9 C' u  AEnd Sub 9 \% C1 i1 C0 r+ _$ b
    function Mmove(Index)
    # i1 Z7 x# ^% @( j. o6 V! |if index = "I" then 3 G" ~* }$ P! x! F5 o) ^; o
    document.all(Window.Event.SrcElement.sourceindex).classname = "normalHI"
    $ b& c& `' j' o4 h* P  [# Y, odocument.all(Window.Event.SrcElement.sourceindex).bgcolor = "#0099CC" / F, C% W$ \6 u' T: F6 L9 Q( e
    else 4 T2 f5 a. f/ K% ?* b6 q
    document.all(Window.Event.SrcElement.sourceindex).classname = "normalH" 6 Z6 ^' Y5 I: a/ b
    document.all(Window.Event.SrcElement.sourceindex).bgcolor = "#009900" . `# z9 w. j& p* k7 r
    end if
    ( F! m: D0 m! h: Q* c' Kend function
    ' _) |) c+ _6 H0 U/ ]( Z8 A) g</script>
    5 N$ h4 P2 K& d0 _</HTML>
    1 R( l) d3 O6 O; G6 ]: S<%End If%>  
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏 分享分享 顶 踩
  • TA的每日心情
    开心
    2014-7-28 21:47
  • 签到天数: 2 天

    [LV.1]初来乍到

    2
     楼主| 发表于 2009-4-17 08:56:11 | 只看该作者
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    下沙大学生网推荐上一条 /1 下一条

    快速回复 返回顶部 返回列表