⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gamemidletzuma.java

📁 贪吃蛇 这是一个变态版本,喜欢的朋友可以下来玩玩!
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
    //                   35 934
    //                   36 934
    //                   37 934
    //                   38 934
    //                   39 934
    //                   40 934
    //                   41 934
    //                   42 934
    //                   43 934
    //                   44 483
    //                   45 934
    //                   46 512
    //                   47 934
    //                   48 934
    //                   49 934
    //                   50 934
    //                   51 934
    //                   52 934
    //                   53 934
    //                   54 934
    //                   55 934
    //                   56 934
    //                   57 934
    //                   58 934
    //                   59 934
    //                   60 934
    //                   61 934
    //                   62 934
    //                   63 934
    //                   64 934
    //                   65 934
    //                   66 787;
           goto _L3 _L4 _L5 _L3 _L3 _L6 _L3 _L3 _L3 _L3 _L7 _L3 _L8 _L9 _L10 _L10 _L11 _L12 _L3 _L3 _L3 _L3 _L3 _L13 _L3 _L3 _L14 _L3 _L3 _L3 _L15 _L16 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L17 _L3 _L18 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L3 _L19
_L14:
        if(s.equals(m.n))
            command = d;
        else
        if(s.equals(m.m))
            j1 = 4;
        else
        if(s.equals(m.o))
            j1 = 0;
        else
        if(s.equals(m.w))
            j1 = 22;
        break MISSING_BLOCK_LABEL_1177;
_L17:
        if((j1 = a.a(-1)) != 24 && j1 != 25)
            flag2 = true;
        break MISSING_BLOCK_LABEL_1177;
_L18:
        if(i1 == 0)
        {
            command = d;
        } else
        {
            a.a.g();
            a.g();
            j1 = 1;
        }
        break MISSING_BLOCK_LABEL_1177;
_L4:
        if(i1 == 0)
            command = d;
        else
        if(c == 1)
        {
            destroyApp(true);
            flag2 = true;
        } else
        {
            a.g();
            j1 = 1;
        }
        break MISSING_BLOCK_LABEL_1177;
_L5:
        j1 = a(s);
        break MISSING_BLOCK_LABEL_1177;
_L8:
        if(i1 == 0)
        {
            e = true;
            b(true);
            if(a.f <= 1)
                j1 = 13;
            else
                j1 = 22;
        } else
        {
            e = false;
            if(g)
            {
                j1 = 12;
            } else
            {
                a.h = Math.min(a.g, 11);
                j1 = 14;
            }
        }
        break MISSING_BLOCK_LABEL_1177;
_L10:
        j1 = 22;
        break MISSING_BLOCK_LABEL_1177;
_L11:
        a.i = i1;
        j1 = 16;
        break MISSING_BLOCK_LABEL_1177;
_L12:
        a.j = i1;
        a.k = 1 + a.i;
        j1 = 22;
        break MISSING_BLOCK_LABEL_1177;
_L9:
        a.f = 3;
        a(false);
        a.e();
        a.h = Math.min(a.g, 11);
        j1 = 14;
        break MISSING_BLOCK_LABEL_1177;
_L19:
        a(67, m.b[i1], true, m.a[i1]);
        return;
_L7:
        j1 = 1;
        break MISSING_BLOCK_LABEL_1177;
_L6:
        if(command == List.SELECT_COMMAND)
            c(i1);
        else
        if(c == 25)
            j1 = c;
        else
            j1 = 1;
        break MISSING_BLOCK_LABEL_1177;
_L13:
        if(c == 25)
        {
            j1 = c;
        } else
        {
            a.a();
            j1 = 24;
        }
        break MISSING_BLOCK_LABEL_1177;
_L15:
        if(a(a.getString(), a.d, a.l))
            j1 = 30;
        else
            a(34, m.E);
        break MISSING_BLOCK_LABEL_1177;
_L16:
        j1 = 1;
        break MISSING_BLOCK_LABEL_1177;
_L3:
        flag2 = true;
        break MISSING_BLOCK_LABEL_1177;
_L2:
        if(command == f)
            switch(b)
            {
            case 14: // '\016'
                if(a.h > 0)
                    a.h--;
                break;

            case 4: // '\004'
                c(i1);
                break;

            case 30: // '\036'
                if(a.l > 0)
                    a.l--;
                break;

            default:
                flag2 = true;
                break;
            }
        else
        if(command == g)
            switch(b)
            {
            case 14: // '\016'
                if(a.h < Math.min(a.g, 11))
                    a.h++;
                break;

            case 4: // '\004'
                c(i1);
                break;

            case 30: // '\036'
                if(a.l < 12)
                    a.l++;
                break;

            default:
                flag2 = true;
                break;
            }
        if(command == d)
        {
            j1 = c;
            switch(b)
            {
            case 4: // '\004'
                for(int k1 = 0; k1 < 2; k1++)
                    a[k1] = b[k1];

                a.a = a[0];
                a.b = a[1];
                a();
                break;
            }
        } else
        if(command == b)
        {
            if(a.p == 12 || a.e || a.a.W != 0)
            {
                c = true;
                flag2 = true;
            } else
            {
                a.a();
                a.c();
                a.a.X = 255;
                j1 = 25;
            }
        } else
        if(command == e)
        {
            j1 = c;
            switch(b)
            {
            case 44: // ','
                if(a.p == 11)
                    j1 = 46;
                break;
            }
        } else
        if(command == a)
            if(b == 35)
            {
                flag2 = true;
                destroyApp(true);
            } else
            {
                j1 = 0;
            }
        if(!flag2)
            a(j1);
        return;
        JVM INSTR pop ;
    }

    public final void e()
    {
        try
        {
            a.a.a.e();
            a.a.a.c();
            a.a.g = a.d;
            if(a.c)
            {
                a.a.a(a.i);
                a.a.z = a.j * 7;
            } else
            if(!e)
            {
                a.a.A = a.h;
                a.a.z = 0;
            }
            a.a.a(true, false);
            if(!a.c)
                if(e)
                {
                    b(true);
                    a.a.a(false, !a.a);
                    a.f--;
                    a(false);
                    if(a.f <= 0)
                        a.e();
                } else
                {
                    a.f = 3;
                    a(false);
                    a.e();
                }
            a.a.X = 255;
            a.a();
            a.addCommand(b);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    private void c(boolean flag)
    {
        String s = null;
        Object obj = null;
        String as[] = null;
        int ai[] = null;
        if(flag)
        {
            s = m.y;
            as = a[a.l];
            ai = a[a.l];
        }
        String s1 = "";
        if(flag)
        {
            if(a.l == 0)
                s1 = s1 + m.az;
            else
                s1 = s1 + "<<" + m.t[a.l - 1];
            if(a.l < 12)
                s1 = s1 + ">>";
        }
        s1 = s1 + "\n";
        s1 = s1 + "\n";
        for(int i1 = 0; i1 < 5; i1++)
        {
            s1 = s1 + (i1 + 1) + ". " + as[i1] + "\n";
            s1 = s1 + ai[i1] + "\n----------\n";
        }

        a.a(s, s1);
        a.a(true);
        a.a(null, c);
        if(c == 24 || c == 29)
            a.setCurrent(a);
    }

    public final void a(boolean flag)
    {
        if(flag)
            a[0] = !a[0];
        a.a = a[0];
    }

    public final void b(boolean flag)
    {
        if(flag)
            a[1] = !a[1];
        a.b = a[1];
    }

    private boolean b()
    {
        boolean flag = false;
        byte abyte0[];
        if((abyte0 = o.a("s.dat", 1)) != null && abyte0.length == 4 && abyte0[0] == 1 && abyte0[1] == 1 && abyte0[2] == 1 && abyte0[3] == 1)
        {
            flag = true;
        } else
        {
            o.a("s.dat");
            for(int j1 = 0; j1 < 13; j1++)
            {
                for(int i1 = 0; i1 < 5; i1++)
                {
                    a[j1][i1] = new String("XXX");
                    a[j1][i1] = 0;
                }

            }

            d = "";
            if(c() && a())
            {
                byte abyte1[] = new byte[80];
                if(o.a("s.dat", 4, abyte1))
                {
                    byte abyte2[];
                    (abyte2 = new byte[4])[0] = abyte2[1] = abyte2[2] = abyte2[3] = 1;
                    if(o.a("s.dat", 1, abyte2))
                        flag = true;
                }
            }
        }
        if(flag && o.a("s.dat") < 5120)
            flag = false;
        return flag;
    }

    private void h()
    {
        try
        {
            DataInputStream datainputstream = o.a("s.dat", 2);
            for(int j1 = 0; j1 < 13; j1++)
            {
                for(int i1 = 0; i1 < 5; i1++)
                {
                    a[j1][i1] = new String(datainputstream.readUTF());
                    a[j1][i1] = datainputstream.readInt();
                }

            }

            d = datainputstream.readUTF();
            datainputstream.close();
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final boolean a(int i1, int j1)
    {
        return i1 > a[j1][4];
    }

    private boolean a(String s, int i1, int j1)
    {
        int k1 = 0;
        String as[] = null;
        int ai[] = null;
        Object obj = null;
        as = a[j1];
        for(ai = a[j1]; k1 < 5 && i1 <= ai[k1]; k1++);
        for(int l1 = 4; l1 > k1; l1--)
        {
            as[l1] = as[l1 - 1];
            ai[l1] = ai[l1 - 1];
        }

        as[k1] = d = s;
        ai[k1] = i1;
        boolean flag;
        return flag = c();
    }

    private boolean c()
    {
        boolean flag = false;
        ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream();
        DataOutputStream dataoutputstream = new DataOutputStream(bytearrayoutputstream);
        try
        {
            for(int j1 = 0; j1 < 13; j1++)
            {
                for(int i1 = 0; i1 < 5; i1++)
                {
                    dataoutputstream.writeUTF(a[j1][i1]);
                    dataoutputstream.writeInt(a[j1][i1]);
                }

            }

            dataoutputstream.writeUTF(d);
            byte abyte0[] = bytearrayoutputstream.toByteArray();
            dataoutputstream.close();
            flag = o.a("s.dat", 2, abyte0);
        }
        catch(Exception _ex) { }
        return flag;
    }

    public final boolean a()
    {
        boolean flag = false;
        try
        {
            ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream();
            DataOutputStream dataoutputstream = new DataOutputStream(bytearrayoutputstream);
            for(int i1 = 0; i1 < a.length; i1++)
                dataoutputstream.writeBoolean(a[i1]);

            byte abyte0[] = bytearrayoutputstream.toByteArray();
            dataoutputstream.close();
            flag = o.a("s.dat", 3, abyte0);
        }
        catch(Exception _ex) { }
        return flag;
    }

    private void i()
    {
        try
        {
            DataInputStream datainputstream;
            if((datainputstream = o.a("s.dat", 3)) != null)
            {
                for(int i1 = 0; i1 < a.length; i1++)
                    a[i1] = datainputstream.readBoolean();

                datainputstream.close();
            }
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    private boolean b(boolean flag)
    {
        return a.a(o.a("s.dat", 4), flag);
    }

    public final boolean a(boolean flag)
    {
        boolean flag1;
        return flag1 = o.a("s.dat", 4, a.a(false, flag));
    }

    private void c(int i1)
    {
        if(i1 < a.length)
            a[i1] = !a[i1];
        if(i1 == 0)
        {
            a(false);
            if(a[0])
                b(32);
            else
                a.a();
        } else
        if(i1 == 1)
        {
            b(false);
            a.a(500);
        }
        a();
    }

    public final void b(int i1, String s)
    {
        if(i1 == 0)
        {
            a.c(1, 1);
            a = new o(this);
            a = new h(this);
            a.a(a, this, a);
            a.a(a);
            i();
            a = new l(this, a);
            a.a(m.b, m.c);
            a.a = a[0];
            a.b = a[1];
            while(d) 
            {
                System.out.println("Dummy");
                try
                {
                    Thread.sleep(50L);
                }
                catch(Exception _ex) { }
            }
            a.a = a.a(3);
            a.a(1, 3000);
            return;
        }
        String s1;
        switch(i1)
        {
        case 3: // '\003'
            s1 = m.B;
            break;

        case 4: // '\004'
            s1 = m.B;
            break;

        case 1: // '\001'
            s1 = m.C;
            break;

        case 2: // '\002'
        default:
            s1 = m.D;
            break;
        }
        a(35, s1);
    }

    public static final void b(int i1)
    {
        if(i1 >= 0 && a != null)
            a.a(i1, 0);
    }

    public final void f()
    {
        d = 160;
        String s;
        if((s = getAppProperty("MIDlet-Version")) != null)
            s = s.trim();
        if(s != null)
            c = s;
        else
            c = "1.0.2";
        f = false;
        if((s = getAppProperty("ENABLE-CHEATS")) != null && s.equals("true"))
            f = true;
        if((s = getAppProperty("JAD_SK_PLACEMENT")) != null)
            e = Integer.parseInt(s);
    }

    public final void g()
    {
        a.c(1, 3);
        a.a = null;
        a.c(1, 2);
        a.e = 0;
        a(1);
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -