Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Мазмұны
Кіріспе
Есек, көбінесе файл атауымен – DONKEY.BAS – белгілі, 1981 жылы жазылған және бастапқы IBM PC-мен бірге таратылған IBM PC DOS операциялық жүйесінің алғашқы нұсқаларына қосылған бейне ойын. Бұл жоғарыдан төменге қарап ойналатын, ойыншының есектерге соқтығыспау үшін көлік жүргізуге тырысатын ойын. Ойынды Microsoft негізін қалаушы Билл Гейтс және алғашқы қызметкер Нил Конзен жазған. Ойынның титулды экранында ол жай ғана "Есек" деп аталса да, көбінесе файл атауымен – DONKEY.BAS – аталады. Барлық BASIC бағдарламалары ".BAS" кеңейтімін пайдаланды, ал Windows 95-ке дейінгі MS DOS үйлесімді операциялық жүйелер файл атауларын үлкен әріптермен көрсетті. Ойын туралы жазбаша түрде айтылғанда, осы ережелер көбінесе сақталады.
Donkey, often known by its filename DONKEY. BAS, is a video game written in 1981, and included with early versions of the IBM PC DOS operating system distributed with the original IBM PC. It is a top down driving game in which the player must avoid hitting donkeys. The game was written by Microsoft co founder Bill Gates and early employee Neil Konzen. Although on the game's title screen it is simply named Donkey, it is often referred to by its filename of DONKEY. BAS. All BASIC programs used the ". BAS" extension, and MS DOS compatible operating systems that came before Windows 95 display file names in upper case. These conventions are often maintained when the game is referred to in writing.
Ойын процесі
ЕШЕК. BAS – ойыншы машинаны басқаратын, бірақ рульді, жылдамдықты немесе тежегішті басқара алмайтын, тек жолдағы есектерден қашу үшін қатарларды ауыстыратын қарапайым ойын. Мақсат – есектерге жол бермеу ғана. Ойын түпнұсқа IBM PC-де қол жетімді жалғыз түсті графикалық режим – CGA дисплей режимін пайдаланады. Бұл режим төрт түске мүмкіндік береді, бірақ DONKEY. BAS ойынында әдетте экранда үш түс ғана болады. Экранның ортасында екі қатарлы тік прокрулдеуші жол көрсетіледі; жолдың екі жағындағы аймақтар есептер мен нұсқаулар үшін пайдаланылады. Ойыншының машинасы жолмен жүріп келе жатқанда, әрбір бірнеше секунд сайын экранның жоғары жағындағы жолдың бір жағынан кездейсоқ есек пайда болады. Есек экраннан төмен қарай жылжығанда, ойыншы одан қашу үшін қатарларды ауыстыру үшін пробел басса алады. Егер машина есекке соғылса, машина да, есек те жарылады, графиканың бөліктері экранның төрт бұрышына шашырап, PC динамигі арқылы қысқа монофониялық әуенмен бірге экранның сол жағында «БУМ!» деген сөз пайда болады. Егер ойыншы есектен қашса, ол экранның төменгі жағынан прокрулдеуден өтеді, экранның оң жағында «Есек жеңіліске ұшырады!» деген сөздер көрсетіледі, ал бірнеше секундтан кейін тағы біреуі пайда болады. Экранда бір уақытта бір есектен артық болмайды. Ойын ойыншы мен есектер арасындағы есепті сақтайды. Егер машина есекке соғылса, есек бір ұпай алады және ойыншы жолдың басына қайта оралады. Көлік есектерден қашқан сайын, ол экранмен баяу жоғары көтеріледі, бұл ойыншыға есек пайда болғанда әрекет ету үшін аз уақыт береді. Егер машина жеткілікті есектерден қашса, ойыншы ұпай алады және машина жолдың төменгі жағына қайта оралады. Ойын ойыншы мен есек алған ұпайлардың санын көрсетеді, бірақ белгілі бір ұпайға жеткенде аяқталмайды немесе өзгермейді. Esc пернесі ойынды тоқтатады. QBasic интерпретаторы мен бастапқы IBM BASICA/GW BASIC интерпретаторы арасындағы спрайттардың көрсетілуі сәл өзгеше.
DONKEY. BAS is a simple driving game in which the player controls a car but cannot steer, accelerate or brake, only changing lanes to avoid a series of donkeys on the road. There is no goal other than to avoid donkeys. The game uses the CGA display mode, the only colour graphics mode available on the original IBM PC. The mode allows four colours but in DONKEY. BAS there are usually only three on screen. The center of the screen shows a vertical scrolling road with two lanes; the areas on either side of the road are used for scores and instructions. The player's car is driving up the road and every few seconds a donkey will appear at random on one side of the road at the top of the screen. As the donkey moves down the screen, the player can press the space bar to switch between lanes to avoid the donkey. If the car hits the donkey, both car and donkey explode, and parts of the graphics are scattered to the four corners of the screen to the sound of a short monophonic tune played through the PC speaker, with the word "BOOM!" displayed on the left side of the screen. If the player avoids the donkey, it will scroll off the bottom of the screen, with the words "Donkey loses!" displayed on the right side of the screen, and after a few seconds another will appear. There is never more than one donkey on the screen at any one time. The game keeps the score between the player and the donkeys. If the car hits a donkey, the donkey gets a point and the player is returned to the start of the road. As the car avoids donkeys, it moves slowly up the screen, giving the player less time to react when donkeys appear. If the car avoids enough donkeys, the player receives a point and the car is moved back to the bottom of the road. The game displays the number of points earned by the player and donkey, but does not end or change when a particular score is reached. The Esc key quits the game. Sprites are rendered slightly differently between the QBasic interpreter and the original IBM BASICA/GW BASIC interpreter.
Мұра
Жаңа платформа мен Visual Basic бағдарламалау тілі үшін бағдарламалау мысалы ретінде 2001 жылы Microsoft DONKEY.BAS құрметіне ойын жасады. Бұл үш өлшемді көлік жүргізу ойыны, ондағы мақсат – есектерді шабу. Ойын бағдарламашыларға қосымшаның қалай құрылатынын және платформаның әртүрлі мүмкіндіктерін қалай пайдалануға болатынын көрсетеді. Ойының бір нұсқасы Google-дің wwwBASIC браузерлік интерпретаторының құрамына да енгізілді.
As a programming example for the new platform and Visual Basic programming language, in 2001 Microsoft developed a game called in homage to DONKEY. BAS. It is a three dimensional driving game in which the aim is to hit donkeys. The game demonstrates to programmers how a application can be structured and how to use various features of the platform. A version was also included as part of Google's wwwBASIC browser based interpreter.