SetConsoleTitle("查看剧情?");
        cout<<"输入 1 观看剧情,按其余键跳过。"<<endl;
        cin>>choose;
        if(choose==1){
  
            jvqing();
        }
        system("cls");
        SetConsoleTitle("你是新手吗?");
        cout<<"查看新手教程?建议新玩家查看(输入 1 查看)"<<endl;
        cin>>choose;
        if(choose==1){
        	system("start http://hfoj.net/blog/85/63a2785dac95767ac35f4240");
			system("start http://10.80.74.11/blog/85/63a2785dac95767ac35f4240");
		} 
        if(choose==1){
        	getch();
		}else{
            cout<<"注:主界面也可以查看新手教程。"<<endl;
            getch();
        } 
        SetConsoleTitle("MINECRAFT Loading...");
        system("cls");
        cout<<"现在,开始你的传奇吧!"<<endl;
        say("Create World...",80); 
        Sleep(3000);
    }else{
        system("cls");
        cout<<"你使用了 快速进入游戏(测试专用)通道"<<endl;//快速进入游戏 
        cout<<"输入名字"<<endl;
        cheat=true;
        cin>>name;
    }
    while(1){
        SetConsoleTitle("MINECRAFT_Made_by_Chenxuanhan");
        reset();//重置 
        system("cls");
        levelup(experience);
        cout<<"玩家名:"<<name<<endl;
        cout<<"你现在位于"<<place<<".";
        if(place=="边境之地"){//...?
            sc(71);
            cout<<"危险!";
            sc(7); 
        }
        cout<<endl;
        sc(4);
        cout<<"血量:"<<health<<"/"<<maxhealth<<endl;
        sc(1);
        cout<<"魔力:"<<magic<<"/"<<maxmagic<<endl;
        sc(7);
        cout<<"攻击:"<<attack<<endl;
        cout<<"防御:"<<defense<<endl;
        cout<<"速度:"<<speed<<endl;
        cout<<"绿宝石:"<<money<<endl;
        cout<<"等级:"<<level;
        sc(2);
        cout<<" 经验:"<<experience<<"/"<<level*100;
		if(xp_orb>0) cout<<"  ( "<<xp_orb<<" 个压缩经验球)";
		cout<<endl; 
        sc(7);
        if(undeadattack) cout<<"你有一种不祥的预感...也许你该去村庄冒险看看。"<<endl;
        cout<<"-----------------------------------" <<endl; 
        cout<<"你要做什么?"<<endl;
        cout<<"1,冒险  2,商店  3,背包  4,挖矿  5,砍树  6,前进  7,合成  8,建造  9,装备  10,技能"<<endl;
        cout<<"1001,查看更新日志  1002,新手教程  1003,设置  1004,查看《蔡JK传奇》\n"<<endl;
        choose=rnd(1,160);
        if(!hide_tips) cout<<"tips:"<<tips[choose]<<endl; 
        if(auto_save){
        	saving=auto_save;
        	cout<<endl<<"自动";
        	save();
		}
        cin>>choose;
        fflush(stdin);
        if(!cin.fail()){
            switch(choose){//选择 
                case 1://冒险 
                    system("cls");
                    cout<<"你开始在"<<place<<"冒险..."<<endl;
                    Sleep(1000);
                    explore(place);
                break;
                case 2://商店 
                    system("cls");
                    cout<<"你进入商店"<<endl;
                    Sleep(1000);
                    shop(place);
                break;
                case 3://检查背包 
                    system("cls"); 
                    cout<<"输入物品编号可查看详细信息"<<endl<<endl;
                    checkbag();
                break;
                case 4://挖矿 
                    dig(place); 
                break;
                case 5://砍树 
                    tree(place);    
                break;
                case 6://前进
                    go();
                break;
                case 7://合成 
                    create();
                break;
                case 8://建造 
                    build();
                break;
                case 9://装备
                    weapon();
                break;
                case 10://技能 
                    skilluse();
                break;  
                case 11:
                	if(!(place=="村庄")) break; 
                	system("cls");
					cout<<"你来到 "<<place<<" 的任务栏前查看......"<<endl;
					getch();
               		task(place);
                break;	
                case 1001://更新日志 
                    changelog();
                break;
                case 1002://教程 
                    system("start http://hfoj.net/blog/85/63a2785dac95767ac35f4240");
					system("start http://10.80.74.11/blog/85/63a2785dac95767ac35f4240");
                break;  
                case 1003:
                	setting();
                break;		
                case 1004://... 
                	if(!vis){
                		money++;
                		cout<<"获得 1 颗绿宝石!"<<endl;
                		vis=true;
					}
                   system("start http://hfoj.net/blog/85/6337b943fe62769368d8631b#1664596291286");
                   system("start http://10.80.74.11/blog/85/6337b943fe62769368d8631b#1664596291286");
                   getch(); 
                break;
				default:
                    break;
                break; 
            }
        }else{
            cin.clear();
            continue;
        } 
    }
    return 0; 
}