WEBVTT 00:00:04.420 --> 00:00:08.320 Stampy: Hayronman, Stacyga nima bo‘ldi? 00:00:13.020 --> 00:00:17.380 Stacy Uhh, menimcha men to‘g‘ri joydaman. 00:00:17.380 --> 00:00:19.300 Bu ajoyib! 00:00:19.300 --> 00:00:22.160 Men o‘zimni Minecraftga qaytib kelgandek his qilayapman. 00:00:22.160 --> 00:00:23.700 Salom. 00:00:23.700 --> 00:00:24.700 Ahvolingiz qanaqa? 00:00:24.700 --> 00:00:26.760 Salom? 00:00:26.860 --> 00:00:30.740 Eh, bu yerda qanaqadir yerbag‘irlab o‘sgan o‘simlik bor. Siz hech nima qilmaysiz, shundaymi? 00:00:30.880 --> 00:00:31.380 Katie: Stacy 00:00:31.420 --> 00:00:32.180 Stacy: Salom, Katie? 00:00:32.240 --> 00:00:32.740 Katie: Ha! 00:00:32.780 --> 00:00:33.960 Minecraftga xush kelibsiz. 00:00:33.960 --> 00:00:34.780 Stacy: Rahmat! 00:00:34.780 --> 00:00:36.900 Katie: Qani keling, kiring! 00:00:38.080 --> 00:00:39.620 Stacy: Bu ajoyib. 00:00:39.620 --> 00:00:42.740 Demak, siz bu yerda har kuni dasturchi sifatida ishlaysiz, to‘g‘rimi? 00:00:42.740 --> 00:00:44.320 Katie: Ha, bu juda hayajonli. 00:00:44.320 --> 00:00:46.789 Men Minecraftdagi sotuv ishlari bilan shug‘ullanuvchi jamoada dasturchiman. 00:00:46.789 --> 00:00:49.310 Stacy: Nechta dasturlash tilini bilasiz? 00:00:49.310 --> 00:00:51.980 Katie: Ish faoliyatim davomida men o‘n ikkitadan ko‘pi bilan ishlaganman. 00:00:51.980 --> 00:00:52.980 Stacy: o‘n ikkita? 00:00:52.980 --> 00:00:53.980 Katie: Ha 00:00:53.980 --> 00:00:57.539 Stacy: Demak, hozir siz mana bu o‘zini Vakil deb nomlovchi kichkina, yaratilgan 00:00:57.539 --> 00:00:59.040 bola haqida bilmasligingiz mumkin emas. 00:00:59.040 --> 00:01:05.800 Katie: Biz Vakildan Steve yoki Alex lavaga qarshi borolmay qolgani kabi ishlarni bajartirishda foydalanamiz. 00:01:05.800 --> 00:01:10.009 Stacy: Yaxshi, Men qanday qilib kod yozishni o‘rganishni xohlayman, va ular ham kodlashni o‘rganishni xohlashadi, shunday qilib, 00:01:10.009 --> 00:01:13.050 o‘rganishni boshlayotganda birinchi bo‘lib qilishimiz kerak bo‘lgan ishlardan biri nima? 00:01:13.050 --> 00:01:15.550 Katie: Xo‘sh, siz birinchi bo‘lib looplardan foydalanishni o‘rganishingiz kerak. 00:01:15.550 --> 00:01:16.550 Stacy: Yaxshi. 00:01:16.550 --> 00:01:20.890 Katie: Looplardan qayta-qayta ishlashi uchun komputerga beriladigan 00:01:20.890 --> 00:01:22.050 buyruqlarni yozishda dasturchilar foydalanishadi. 00:01:22.050 --> 00:01:25.640 Stacy: Tushundim, menimcha bularning ba’zilari bilan keyingi bosqichlarda tanishamiz, 00:01:25.640 --> 00:01:28.869 shunday ekan, davom eting va looplar bilan ishlab ko‘ring. 00:01:28.869 --> 00:01:32.860 Keyingi bosqichda, siz vakilni yo‘l bo‘ylab harakatlantirish uchun loopdan foydalanasiz. 00:01:32.860 --> 00:01:38.110 Repeat bo‘limni ish joyiga ollib keling va repeat bo‘lim ichida move forward 00:01:38.110 --> 00:01:39.170 bo‘limni joylashtiring. 00:01:39.170 --> 00:01:43.750 Bu butun boshli bo‘limlar to‘plamini ish joyiga olib qo‘ymasdan turib, komputerga bir qator kod orqali 00:01:43.750 --> 00:01:46.340 bir xil narsani ko‘p marotaba qilishi kerakligini aytadi. 00:01:46.340 --> 00:01:50.640 Repeat bo‘limda biron son berish orqali necha marta qaytarilishini tanlay olasiz. 00:01:50.640 --> 00:01:55.700 Siz repeat bo‘limga ham burilishlar va ko‘plab buyruqlar qo‘ya olasiz, ammo hozircha takrorlanishdan foydalanib, 00:01:55.700 --> 00:01:59.000 vakilni bir necha qadam oldinga siljitishni mashq qilib ko‘ring. 00:01:59.000 --> 00:02:02.649 Esingizda bo‘lsin, agar siz boshqotirmada qimirlay olmay qolsangiz, doimo ko‘k rangdagi reset tugmasini bosa olasiz va 00:02:02.649 --> 00:02:03.759 qaytadan urinib ko‘rishingiz mumkin 00:02:03.759 --> 00:02:08.770 Agar siz Katienikiga o‘xshagan biron ajoyib ish qilishni o‘ylayotgan bo‘lsangiz, davom eting va 00:02:08.770 --> 00:02:11.440 har bir bosqichni tugatganingizda show code tugmasini bosing. 00:02:11.440 --> 00:02:15.000 Bu sizga Katiega o‘xshagan u Minecraftda haqiqiy dasturlash bilan shug‘illanganda foydalanadigan 00:02:15.000 --> 00:02:16.840 haqiqiy JavaScript kodini ko‘rsatadi. 00:02:16.840 --> 00:02:18.350 Nima bo‘lganda ham, katta rahmat! 00:02:18.350 --> 00:02:19.599 Katie: Ha, Barchaga omad!