亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 9_2.cpp

?? 闖城堡游戲。城堡中設有一些房間和一些陷阱
?? CPP
?? 第 1 頁 / 共 2 頁
字號:
     return doyouquit();
}
else if (x == 2)
{
     cout << trapped();
}
else if (x == 3)
{
     cout << "\nYou feel something soft against the wall.  Not being sure what,";
     cout << "it is you decide to leave it alone.\n\n";
     system("pause");
     return dungeon2();
}
else if (x == 4)
{
     cout << "THE DOOR IS LOCKED!!!\n\n";
     system("pause");
     return dungeon2();
}
else if ((x != 1) || (x != 2) || (x != 3) || (x != 4))
{
     return doyouquit();
}
}
char trapped()
  {
     int x;
     cout << "Making your way through the dungeon.  You go east through an open door.\n";
     cout << "The door closes behind you.  \"What\'s up with the closing doors\?\"\n";
     cout << "You ask yourself.  All of a sudden the ceiling starts moving towards you.\n";
     cout << "Your certain to be crushed unless you do something, but what\?\n";
     cout << "You see two levers on your right .... Which one to pull\?  Or should\n";
     cout << "you try one of the two doors\?\n";
     cout << "Where do you want to do?\n";
     cout << "(1) Pull the lever on the left: \n";
     cout << "(2) Pull the lever on the right: \n";
     cout << "(3) Back the way you came: \n";
     cout << "(4) Try the door to your right: \n";
     cin >> x;
if (x == 1)
{
     cout << "You pull the lever on the left, but nothing happens.\n";
     cout << "You are slowly crushed by the ceiling.\n\n";
     system("pause");
     return doyouquit();
}
else if (x == 2)
{
     cout << "You pull the lever on the right, the door swings open.\n";
     cout << "Not being one to waste time you hurry through.\n\n\n";
     system("pause");
     return roomtwowest();
}
else if (x == 3)
{
     cout << "You try the door but it\'s locked.  Of course it\'s locked\n";
     cout << "you tell yourself as you go to hit your head.  But the ceiling\n";
     cout << "beats you to it!\n\n";
     system("pause");
     return doyouquit();
}
else if (x == 4)
{
     cout << "You try the door but it\'sl locked.  Of course it\'s locked\n";
     cout << "you tell yourself as you go to hit your head.  But the ceiling\n";
     cout << "beats you to it!\n\n";
     system("pause");
     return doyouquit();
}
else if ((x != 1) || (x != 2) || (x != 3) || (x != 4))
{
     return doyouquit();
}
}
char roomthreeeast()
{
     int x;
     cout << "As you step into the Eastern-most room of the Castle you notice\n";
     cout << "that the room is completely empty, no doors, windows, or even a \n";
     cout << "description for that matter.  The programmer must have been pretty\n";
     cout << "tired when he got to this room.\n";
     cout << "What do you want to do?\n";
     cout << "(1) West: \n";
     cout << "(2) Kill yourself: \n";
     cin >> x;
if (x == 1)
{
     cout << "\n\n\n";
     return roomtwoeast();
}
else if (x == 2)
{
   cout << "Someone has a self-esteem problem.  Did you really think it would\n";
     cout << "be that easy?\n\n\n";
     system("pause");
     return roomthreeeast2();
}
}
char roomthreeeast2()
{
     int x;
     cout << "Regretfully, you're still here. And no, the programmer has not had his coffee\n";
     cout << "se the room is still completely empty, no doors, windows, or even a \n";
     cout << "description for that matter, just like last time.\n";
     cout << "What do you want to do?\n";
     cout << "(1) West: \n";
     cout << "(2) Kill yourself: \n";
     cin >> x;
if (x == 1)
{
     cout << "\n\n\n";
     return roomtwoeast();
}
else if (x == 2)
{
   cout << "I thought we had talked about this already?\n";
     system("pause");
     return roomthreeeast2();
}
}

char backdoor()
{
     int x;
     cout << "It was a back door after all!  You're outside!\n";
     cout << "You find yourself in a courtyard surrounded by 20 ft walls.\n";
     cout << "There are two doors, East and South.\n";
     cout << "Where do you want to go?\n";
     cout << "(1) West: \n";
     cout << "(2) East: \n";
     cout << "(3) North: \n";
     cout << "(4) South: \n";
     cin >> x;
if (x == 1)
{
     cout << "\n\n";
     return roomtwonorth();
}
else if (x == 2)
{
     cout << "For the fun of it you try to climb the wall.\n";
     cout << "Brushing the bushes aside first, you find a secret passage!\n";
     cout << "\n\n";
     system("pause");
     return outside2();
}
else if (x == 3)
{
     cout << "For the fun of it you try to climb the wall.\n";
     cout << "Your almost to the top when you loose your footing and fall.\n";
     cout << "Get the asprin...\n\n\n";
     return bravesoul();
}
else if (x == 4)
{
     cout << "\n\n";
     return roomtwoeast();
}
else if ((x != 1) || (x != 2) || (x != 3) || (x != 4))
{
   cout << "\n\n";
     return doyouquit();
}
}
char fireplace()
{
     int x;
     cout << "You enter the room and right away notice how warm it is. \n";
     cout << "To the East is the door you just came through.  To the West is a cozy\n";
     cout << "looking fireplace.  The wood logs look brand new, someone must have just\n";
     cout << "placed them on.  Other than that, there is not much else to look at.\n";
     cout << "What do you want to do?\n";
     cout << "(1) East: \n";
     cout << "(2) West: \n";
     cout << "(3) Roast Marshmellows: \n";
     cin >> x;
if (x == 1)
{
     cout << "I don't think burning yourself in the fire is a good idea.  But hey,\n";
     cout << "it's your life!\n\n";
     system("pause");
     return fireplace2();
}
else if (x == 2)
{
     cout << "\n\n";
     return parlor();
}
else if (x == 3)
{
  cout << "\n\n";
  cout << "You wished you had some marshmellows right now.  Maybe if you find your way\n";
  cout << "out of here you can run to the store and come back.\n\n";
  system("pause");
  return fireplace2();
}

else if ((x != 1) || (x != 2) || (x != 3))
{
     return doyouquit();
}
}
char fireplace2()
{
     int x;
     cout << "You're in the study. \n";
     cout << "To the East is the door you just came through.  To the West is a cozy\n";
     cout << "looking fireplace.  The fire is starting to dwindle, maybe you should\n";
     cout << "put one on?  Other than that, there is not much else to look at.\n";
     cout << "What do you want to do?\n";
     cout << "(1) East: \n";
     cout << "(2) West: \n";
     cout << "(3) Roast Marshmellows: \n";
     cin >> x;
if (x == 1)
{
     cout << "Well wouldn't you know it!  Cotton IS flamable.\n\n";
     system("pause");
     return bravesoul();
}
else if (x == 2)
{
     cout << "\n\n";
     return parlor();
}
else if (x == 3)
{
  cout << "\n\n";
cout << "You wished you had some marshmellows right now.  Maybe if you find your way\n";
  cout << "out of here you can run to the store and come back.\n\n";
  system("pause");
  return fireplace2();
}
else if ((x != 1) || (x != 2) || (x != 3))
{
     return doyouquit();
}
}
char parlor()
{
     int x;
     cout << "You enter into the parlor.  You know it's the parlor becuase the welcome\n";
     cout << "mat said so.  There are plenty of doors to try in this room.  North, South,\n";
     cout << "East, and West.\n";
     cout << "Which way do you want to go?\n";
     cout << "(1) South: \n";
     cout << "(2) North: \n";
     cout << "(3) East:  \n";
     cout << "(4) West: \n";
     cin >> x;
if (x == 1)
{
     cout << "\n\n";
     return roomtwonorth();
}
else if (x == 2)
{
     cout << "\n\n";
     return outside2();
}
else if (x == 3)
{
     cout << "\n\n";
     return fireplace();
}
else if (x == 4)
{
     cout << "\n\n";
     return easttower();
}
else if ((x != 1) || (x != 2) || (x != 3) || (x != 4))
{
     cout << "\n\n";
     return doyouquit();
}
}
char easttower()
{
     int x;
     cout << "You climb up a large flight of circular stairs. \n";
     cout << "You find yourself in a small circular room with one window\n";
     cout << "in the front.  There is a spectacular view of the far off city.\n";
     cout << "And look!  There's your broken down car.  Damn car.";
     cout << "Where do you want to go?\n";
     cout << "(1) South: \n";
     cout << "(2) Look further out the window: \n";
     cin >> x;
if (x == 1)
{
     cout << "\n\n";
     return parlor();
}
else if (x == 2)
{
     cout << "You knew you were asking for it when you thought of the option!\n";
     cout << "You try and get a better look of you car but end up getting an up\n";
     cout << "close look at the mail box.  Was white, and had a nice flag....\n\n";
     return bravesoul();
}
else if ((x != 1) || (x != 2))
{
     cout << "\n\n";
     return doyouquit();
}
}
char outside2()
{
     cout << "You're free!! You made it!!! You're free!!!\n";
     cout << "You wipe your forehead, glad that it's over.\n";
     cout << "\n\n\n";
     cout <<"*---------------------------------------------------*\n";
     cout <<"| Thanks for playing, I hope you enjoyed the game!  |\n";
     cout <<"| Giving credit where credit is due, I got the idea |\n";
     cout <<"| from a game I played on a Unix server.  I couldn't|\n";
     cout <<"| win so I decided to make one that I could.        |\n";
     cout <<"| This game was created with Bloodshed's Dev / C++  |\n";
     cout <<"| carter@mcarterbrown.com                           |\n";
     cout <<"*---------------------------------------------------*\n\n\n";
     system("pause");
     return 0;
}
char bravesoul()
{
     cout << "\n\n\nYou took a wrong turn.  But don't die in vain, try again!\n\n\n";
     system("pause");
     return doyouquit();
}
char roomone2()
{
     int x;
     cout << "\nYou are in the entrance way of the Castle.\n";
     cout << "There are 3 doors, one to the North, East, and West.\n\n";
     cout << "Where do you want to go?\n";
     cout << "(1) North: \n";
     cout << "(2) East: \n";
     cout << "(3) West: \n";
     cout << "(4) South: \n";
     cout << "(5) Look around: \n";
     cin >> x;
if (x == 1)
{
     cout << roomtwonorth();
}
else if (x == 2)
{
     cout << roomtwoeast();
}

else if (x == 3)
{
     cout << roomtwowest();
}
else if (x == 4)
{
     cout << "That door is locked.\n";
     cout << "Why are you trying again?\n\n";
     system("pause");
     return roomone();
}
else if (x == 5)
{
     return roomone();
}
else if ((x != 1) || (x != 2) || (x != 3) || (x != 4) || (x != 5))
{
     return doyouquit();
}
}
char outside3()
{
      int x;
      cout << "You are standing in front of the castle, now with a rather large\n";
      cout << "bump on your head.  It really stings.\n";
      cout << "Next to you is a mailbox.  The castle is to the north.\n";
      cout << "What do you want to do\?\n";
      cout << "(1) North: \n";
      cout << "(2) East:  \n";
      cout << "(3) West: \n";
      cout << "(4) South: \n";
      cout << "(5) Look inside Mailbox: \n";
      cin >> x;
if (x == 1)
{
     cout << roomone();
}
else if (x == 2)
{
    cout << "\nOUCH!  You run into a tree!\nTry again.\n\n";
      system("PAUSE");
      return outside3();
}
else if (x == 3)
{
     cout << "You can not go that way. \n\n";
     system("PAUSE");
     return outside();
}
else if (x == 4)
{
 cout << "You sink into the swamp!\n\nNext time you should be more careful.\n\nEnd Game\n\n";
 system("PAUSE");
 return doyouquit();
}
else if (x == 5)
{
     cout << "*------------------------------------------------*\n";
     cout << "| Thank you for trying and playing The Castle    |\n";
     cout << "| By M. Carter Brown, written in C++             |\n";
     cout << "|                                                |\n";
     cout << "| The object of this game is simply to get       |\n";
     cout << "| through the castle alive.                      |\n";
     cout << "| Good Luck!                                     |\n";
     cout << "|                           - M. Carter Brown    |\n";
     cout << "*------------------------------------------------*\n";
     cout << "\n\n\n\n";
     system("PAUSE");
     return outside();
}
else if ((x != 1) || (x != 2) || (x != 3) || (x != 4) || (x != 5))
{     return doyouquit();
}
}
char doyouquit()
{
   int x;
   cout << "\n\nDo you want to play again? \n";
   cout << "(1) To Start Over:\n";
   cout << "(2) To Quit:\n";
   cin >> x;
if (x == 1)
{
cout << "\n\nGood Choice!\n\n\n";
return main();
}
else
{
return 0;
}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一区二区免费不卡 | 蜜桃免费网站一区二区三区| 欧美国产亚洲另类动漫| 亚洲三级电影网站| 久久99热这里只有精品| 久久精品人人做| 一区二区三区影院| 国产精品影视在线观看| 欧美艳星brazzers| 国产欧美日本一区二区三区| 午夜免费欧美电影| 色综合久久88色综合天天6| 26uuu久久综合| 丝袜美腿亚洲一区| 91成人网在线| 亚洲人成影院在线观看| 国产精品一区二区在线观看网站| 精品视频在线免费看| 国产精品久久久久久久久搜平片| 极品少妇xxxx精品少妇偷拍| 欧美日韩在线三级| 亚洲一区二区黄色| 欧美午夜一区二区| 一区二区成人在线| 一本一道久久a久久精品综合蜜臀| 国产日韩欧美综合在线| 韩国精品免费视频| 亚洲精品一区二区在线观看| 麻豆传媒一区二区三区| 欧美浪妇xxxx高跟鞋交| 亚洲va韩国va欧美va| 91九色02白丝porn| 亚洲一区二区三区不卡国产欧美 | 国产日产欧美一区| 免费观看日韩电影| 日韩欧美中文一区二区| 喷白浆一区二区| 日韩精品一区二区三区视频| 日韩在线卡一卡二| 精品日韩在线观看| 国精产品一区一区三区mba桃花| 久久综合九色欧美综合狠狠| 国产精品一色哟哟哟| 欧美国产精品劲爆| 97久久精品人人澡人人爽| 亚洲精品中文字幕乱码三区| 在线观看日产精品| 日韩精品一级中文字幕精品视频免费观看| 欧美日高清视频| 久久99久久99| 最新热久久免费视频| 欧洲精品一区二区三区在线观看| 五月婷婷欧美视频| 精品国产网站在线观看| 国产99久久久久| 夜夜嗨av一区二区三区| 精品视频123区在线观看| 久久 天天综合| 国产精品美女久久久久久| 色www精品视频在线观看| 婷婷综合另类小说色区| 久久久久久久久97黄色工厂| 91在线视频18| 琪琪久久久久日韩精品| 国产欧美日韩不卡免费| 欧美色综合久久| 国产又粗又猛又爽又黄91精品| 国产精品久久三| 欧美久久一二区| 丁香婷婷综合激情五月色| 亚洲综合一区二区| 久久综合丝袜日本网| 色天天综合色天天久久| 精品一区二区三区欧美| 日韩伦理电影网| 精品日韩在线观看| 欧美日韩精品久久久| 粉嫩一区二区三区性色av| 香蕉久久夜色精品国产使用方法| 久久久久99精品一区| 欧美日韩精品高清| 91视频免费看| 国产精品一二三四区| 亚洲成人手机在线| 亚洲天堂2014| 日韩欧美高清dvd碟片| 成人性生交大片| 石原莉奈在线亚洲二区| 国产精品麻豆99久久久久久| 日韩片之四级片| 在线观看免费一区| 成人97人人超碰人人99| 蜜桃av一区二区| 亚洲福中文字幕伊人影院| 国产精品久久久久久福利一牛影视| 欧美一区二区三区日韩| 在线免费观看日本一区| av成人免费在线| 国产精品自拍网站| 国产在线视频一区二区三区| 日韩精品成人一区二区在线| 亚洲亚洲人成综合网络| 亚洲三级在线免费| 中文字幕亚洲成人| 国产精品网站在线播放| 国产日韩欧美a| 久久久激情视频| 久久在线观看免费| 精品区一区二区| 欧美成人官网二区| 日韩免费在线观看| 日韩欧美国产高清| 日韩视频不卡中文| 日韩女优电影在线观看| 日韩欧美www| 久久久综合激的五月天| 久久你懂得1024| 国产亚洲一区二区三区四区| 久久一留热品黄| 欧美精彩视频一区二区三区| 久久久亚洲综合| 国产精品美女久久久久久久久久久| 国产精品灌醉下药二区| 综合av第一页| 亚洲午夜电影在线| 蜜臀av性久久久久蜜臀av麻豆| 麻豆一区二区三区| 韩国精品主播一区二区在线观看 | 一区二区三区免费看视频| 亚洲日本青草视频在线怡红院 | 色妞www精品视频| 在线观看视频一区| 欧美精品tushy高清| 精品久久久久久久久久久久久久久久久 | 久久久久久影视| 精品国精品国产尤物美女| 久久青草欧美一区二区三区| 国产午夜精品一区二区三区四区| 亚洲国产高清在线观看视频| 日韩美女久久久| 青青草成人在线观看| 国产制服丝袜一区| 99久免费精品视频在线观看| 在线一区二区三区| 日韩精品中文字幕在线不卡尤物| 国产欧美在线观看一区| 亚洲欧美日韩在线| 免费高清不卡av| 94-欧美-setu| 日韩一级黄色片| 欧美国产欧美亚州国产日韩mv天天看完整| 综合分类小说区另类春色亚洲小说欧美 | 99久久综合色| 91热门视频在线观看| 欧美人伦禁忌dvd放荡欲情| 精品日产卡一卡二卡麻豆| 综合激情成人伊人| 麻豆成人久久精品二区三区红 | 激情图区综合网| 色女孩综合影院| 国产亚洲精久久久久久| 亚洲一区二区四区蜜桃| 国产精品一区专区| 欧美狂野另类xxxxoooo| 17c精品麻豆一区二区免费| 麻豆一区二区三| 精品视频色一区| 一区在线观看免费| 国产一区二区精品久久99| 欧美性高清videossexo| 欧美私人免费视频| 日韩欧美123| 午夜精品爽啪视频| 99视频超级精品| 国产视频一区在线观看 | 亚洲欧美一区二区三区国产精品 | 日韩主播视频在线| 97久久精品人人做人人爽50路 | 日韩精品资源二区在线| 亚洲激情校园春色| 成人网男人的天堂| 久久综合九色综合97婷婷女人| 三级在线观看一区二区| 欧美亚洲国产一区二区三区| 国产精品成人网| 成人一区二区三区中文字幕| 精品99一区二区三区| 日韩成人伦理电影在线观看| 欧美日韩精品一区二区三区四区 | 亚洲免费视频中文字幕| 丰满放荡岳乱妇91ww| 国产无一区二区| 国产精品日产欧美久久久久| 99久久免费视频.com| 欧美r级在线观看| 亚洲v精品v日韩v欧美v专区| 欧美午夜影院一区| 亚洲一区二区三区中文字幕在线| 色综合久久久久| 一区二区三区欧美日|