web html javascript 实现疯狂管道鸟 小游戏

原文出自:https://blog.csdn.net/weixin_42749765

样子

web html javascript 实现疯狂管道鸟 小游戏_第1张图片

 

完整代码:https://download.csdn.net/download/weixin_42749765/11285668

 

css

body {
        margin: 0px;
        padding: 0px;
        background: #000;
        color: #fff;
    }

    .main {
        width: 390px;
        height: 560px;
        border: 5px solid #fff;
        margin: 0 auto;
        margin-top: 10px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    #yct {
        width: 500px;
        height: 560px;
        border: 5px solid #fff;
        margin: -5px 0 0 -120px;
        ;
        text-align: center;
        position: absolute;
    }

    #xn {
        border: 1px solid red;
        border-radius: 3px 0 3px 3px;
        position: absolute;
        height: 20px;
        left: 230px;
        top: 200px;
        position: absolute;
    }

    #cxks {
        border: 1px solid chartreuse;
        border-radius: 5px;
        padding: 5px 20px 5px 20px;
        top: 100px;
        cursor: pointer;
        position: relative;
    }

    span {
        height: 100px;
    }

    .zz {
        width: 60px;
        height: 300px;
        left: 0px;
        bottom: 0px;
        border: 1px solid red;
        position: absolute;
    }

    h3 {
        width: 105px;
        margin: 0 auto;
    }

    .count {
        width: 95px;
        margin: 0 auto;
    }

html 

  

疯狂管道鸟

分数:0

js

eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('L 2={b:c,6:c,o:c,x:c,M:c,q:5,4:c,r:0,j:y,E:7(){2.J();2.D();2.C();2.v()},D:7(){2.b.t=7(){2.6.h.B=6.g-G+"f"}},C:7(){2.o=k.s(7(){2.6.h.B=6.g+3+"f";8(2.6.g>Q||2.6.g<10){2.n()}},z)},n:7(){k.H(2.o);k.H(2.4);2.b.i+=\'N P !

R \';9.a("w").t=7(){S.O()}},J:7(){2.b=9.a("b");2.b.i=\'18\';2.6=9.a("6");9.a("u").i=\'\';2.4=9.a("4")},v:7(){2.x=k.s(7(){2.4.h.I=2.4.e+2.q+"f";2.A();8(2.4.e>14){8(2.j){9.a("16").i=++2.r;2.j=15}}8(2.4.e>17){2.j=y;2.4.h.I=0+(2.q+=0.1)+"f";2.4.h.W=K.X(K.U()*V)+Y+"f"}},z)},A:7(){8(F<2.4.e&&2.4.e

 

 

ok

 

 

 

文章持续更新

 

 

 

 

你可能感兴趣的:(js,javascript,小游戏,疯狂管道鸟,游戏)