Translate quizz app of 6-space-game to Indonesian

pull/151/head
hexatester 4 years ago
parent 73ff2665c0
commit 54501e23d4

@ -1486,43 +1486,43 @@
}, },
{ {
"id": 29, "id": 29,
"title": "Lesson 15 - Space Game - Introduction: Pre-Lecture Quiz", "title": "Pelajaran 15 - Game Luar Angkasa - Pendahuluan: Kuis Pra-Kuliah",
"quiz": [ "quiz": [
{ {
"questionText": "JavaScript is an unpopular language for building games", "questionText": "JavaScript adalah bahasa yang tidak populer untuk membuat game",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
}, },
{ {
"questionText": "Pub/Sub is a preferred pattern for managing the game's assets and flow", "questionText": "Pub / Sub adalah pola yang disukai untuk mengelola aset dan aliran game",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
}, },
{ {
"questionText": "Object inheritance can be handled by either using classes or composition", "questionText": "Pewarisan objek (object inheritance) dapat ditangani baik dengan menggunakan class atau komposisi",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
@ -1531,36 +1531,36 @@
}, },
{ {
"id": 30, "id": 30,
"title": "Lesson 15 - Space Game - Introduction: Post-Lecture Quiz", "title": "Pelajaran 15 - Game Luar Angkasa - Pendahuluan: Kuis Pasca-Kuliah",
"quiz": [ "quiz": [
{ {
"questionText": "Classes rely on inheritance to ascribe to behaviors", "questionText": "Class bergantung pada warisan untuk dianggap berasal dari perilaku",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
}, },
{ {
"questionText": "Composition is the preferred design pattern for game objects", "questionText": "Komposisi adalah pola desain yang disukai untuk objek game",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
}, },
{ {
"questionText": "Pub/Sub stands for:", "questionText": "Pub / Sub adalah singkatan dari:",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "Publish/Subscribe", "answerText": "Publish/Subscribe",
@ -1580,43 +1580,43 @@
}, },
{ {
"id": 31, "id": 31,
"title": "Lesson 16 - Space Game - Draw Hero and Monsters to Canvas: Pre-Lecture Quiz", "title": "Pelajaran 16 - Game Luar Angkasa - Menggambar Pahlawan dan Monster ke Kanvas: Kuis Pra-Kuliah",
"quiz": [ "quiz": [
{ {
"questionText": "The Canvas element is what you use to draw on a screen", "questionText": "Elemen Canvas adalah apa yang Anda gunakan untuk menggambar di layar",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
}, },
{ {
"questionText": "You can only draw simple geometric shapes using the Canvas API", "questionText": "Anda hanya dapat menggambar bentuk geometris sederhana menggunakan Canvas API",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
}, },
{ {
"questionText": "The point 0,0 is in the bottom left", "questionText": "Titik 0,0 berada di kiri bawah",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
@ -1625,36 +1625,36 @@
}, },
{ {
"id": 32, "id": 32,
"title": "Lesson 16 - Space Game - Draw Hero and Monsters to Canvas: Post-Lecture Quiz", "title": "Pelajaran 16 - Game Luar Angkasa - Menggambar Pahlawan dan Monster ke Kanvas: Kuis Pasca-Kuliah",
"quiz": [ "quiz": [
{ {
"questionText": "You can perform drawing operations directly on the Canvas", "questionText": "Anda dapat melakukan operasi menggambar langsung di Kanvas",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
}, },
{ {
"questionText": "You listen to the onload event to know when an image has loaded asynchronously", "questionText": "Anda mendengarkan acara onload untuk mengetahui kapan gambar dimuat secara asinkron",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
}, },
{ {
"questionText": "You draw images onto a screen with an operation called:", "questionText": "Anda menggambar gambar ke layar dengan operasi yang disebut:",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "paintImage()", "answerText": "paintImage()",
@ -1674,36 +1674,36 @@
}, },
{ {
"id": 33, "id": 33,
"title": "Lesson 17 - Space Game - Adding Motion: Pre-Lecture Quiz", "title": "Pelajaran 17 - Game Luar Angkasa - Menambahkan Gerakan: Kuis Pra-Kuliah",
"quiz": [ "quiz": [
{ {
"questionText": "Any object on the screen can receive keyboard events", "questionText": "Objek apa pun di layar dapat menerima acara keyboard",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
}, },
{ {
"questionText": "You can use the same method to listen to key events and mouse events", "questionText": "Anda dapat menggunakan metode yang sama untuk mendengarkan peristiwa utama dan peristiwa mouse",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
}, },
{ {
"questionText": "To make things happen at a regular interval, you use what function?", "questionText": "Untuk membuat sesuatu terjadi secara berkala, Anda menggunakan fungsi apa?",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "setInterval()", "answerText": "setInterval()",
@ -1723,51 +1723,51 @@
}, },
{ {
"id": 34, "id": 34,
"title": "Lesson 17 - Space Game - Adding Motion: Post-Lecture Quiz", "title": "Pelajaran 17 - Game Luar Angkasa - Menambahkan Gerakan: Kuis Pasca-Kuliah",
"quiz": [ "quiz": [
{ {
"questionText": "You always need to redraw the screen", "questionText": "Anda selalu perlu menggambar ulang layar",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
}, },
{ {
"questionText": "What is a game loop?", "questionText": "Apa itu game loop?",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "A function that ensures the game can be restarted", "answerText": "Sebuah fungsi yang memastikan game dapat dimulai ulang",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "A function that decided how fast the game should run", "answerText": "Fungsi yang memutuskan seberapa cepat game harus dijalankan",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "A function that is invoked at regular intervals and draws what the user should see", "answerText": "Fungsi yang dipanggil secara berkala dan menggambarkan apa yang seharusnya dilihat pengguna",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
}, },
{ {
"questionText": "A good case for redrawing the screen is", "questionText": "Kasus yang bagus untuk menggambar ulang layar adalah",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "A user interaction happened", "answerText": "Interaksi pengguna terjadi",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "Something has moved", "answerText": "Sesuatu telah berpindah",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "Time has passed", "answerText": "Waktu telah berlalu",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
@ -1776,51 +1776,51 @@
}, },
{ {
"id": 35, "id": 35,
"title": "Lesson 18 - Space Game - Adding A Laser and Detecting Collisions: Pre-Lecture Quiz", "title": "Pelajaran 18 - Game Luar Angkasa - Menambahkan Laser dan Mendeteksi Tabrakan: Kuis Pra-Kuliah",
"quiz": [ "quiz": [
{ {
"questionText": "Collision detection is how we detect if two things have collided", "questionText": "Deteksi tabrakan adalah cara kami mendeteksi jika dua benda bertabrakan",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
}, },
{ {
"questionText": "How can we remove an item from the screen?", "questionText": "Bagaimana cara menghapus item dari layar?",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "Call the garbage collector", "answerText": "Panggil pengumpul sampah",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "Mark it as dead, only paint not dead objects next time we draw the screen", "answerText": "Tandai sebagai mati, hanya tampilkan bukan benda mati saat kita menggambar layar",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "Place the item on a negative coordinate", "answerText": "Tempatkan item di koordinat negatif",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
}, },
{ {
"questionText": "A good way to simulate firing a laser in JavaScript is:", "questionText": "Cara yang baik untuk mensimulasikan penembakan laser di JavaScript adalah:",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "make a visual element respond to a key event", "answerText": "membuat elemen visual merespons peristiwa utama",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "create animated gifs", "answerText": "membuat gif animasi",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "make enemies blow up at intervals", "answerText": "membuat musuh meledak secara berkala",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
@ -1829,51 +1829,51 @@
}, },
{ {
"id": 36, "id": 36,
"title": "Lesson 18 - Space Game - Adding A Laser and Detecting Collisions: Post-Lecture Quiz", "title": "Pelajaran 18 - Game Luar Angkasa - Menambahkan Laser dan Mendeteksi Tabrakan: Kuis Pasca-Kuliah",
"quiz": [ "quiz": [
{ {
"questionText": "In collision detection you compare two", "questionText": "Dalam deteksi tabrakan Anda membandingkan dua",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "circles and whether they intersect", "answerText": "lingkaran dan apakah mereka berpotongan",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "rectangles and whether they intersect", "answerText": "persegi panjang dan apakah mereka berpotongan",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "distances between two points", "answerText": "jarak antara dua titik",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
}, },
{ {
"questionText": "The reason for implementing a cooldown effect is because", "questionText": "Alasan penerapan efek cooldown adalah karena",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "Making the game harder as you can't repeatedly fire a laser to destroy enemies", "answerText": "Membuat permainan lebih sulit karena Anda tidak dapat menembakkan laser berulang kali untuk menghancurkan musuh",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "JavaScript can only produce a certain number of events per time unit, so you need to limit them", "answerText": "JavaScript hanya dapat menghasilkan sejumlah kejadian per unit waktu, jadi Anda perlu membatasinya",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
}, },
{ {
"questionText": "Constants are identifiable in code because", "questionText": "Konstanta dapat diidentifikasi dalam kode karena",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "they are written in capital letters", "answerText": "mereka ditulis dengan huruf kapital",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "they have specific names", "answerText": "mereka memiliki nama yang spesifik",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "they are written in kebab-case like-this", "answerText": "mereka ditulis dalam kebab-case seperti-ini",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
@ -1882,40 +1882,40 @@
}, },
{ {
"id": 37, "id": 37,
"title": "Lesson 19 - Space Game - Scoring and Lives: Pre-Lecture Quiz", "title": "Pelajaran 19 - Game Luar Angkasa - Penilaian dan Kehidupan: Kuis Pra-Kuliah",
"quiz": [ "quiz": [
{ {
"questionText": "How do you draw text on a screen using the Canvas element?", "questionText": "Bagaimana Anda menggambar teks di layar menggunakan elemen Canvas?",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "Place text inside a div or span element", "answerText": "Tempatkan teks di dalam div atau elemen span",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "Call drawText() on the Canvas element", "answerText": "Panggil drawText() pada elemen Canvas",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "Call fillText() on the context object", "answerText": "Panggil fillText() pada konteks objek",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
}, },
{ {
"questionText": "Why do you have the concept of 'lives' in a game?", "questionText": "Mengapa Anda memiliki konsep 'nyawa' dalam sebuah game?",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "To show how much damage you can take", "answerText": "Untuk menunjukkan seberapa banyak kerusakan yang bisa Anda terima",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "So that the game doesn't end straight away, but you have n number of chances before the game is over", "answerText": "Agar permainan tidak langsung berakhir, tetapi Anda memiliki sejumlah peluang sebelum permainan berakhir",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
}, },
{ {
"questionText": "Add color to text on Canvas using", "questionText": "Tambahkan warna ke teks di kanvas menggunakan",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "fillColor", "answerText": "fillColor",
@ -1935,51 +1935,51 @@
}, },
{ {
"id": 38, "id": 38,
"title": "Lesson 19 - Space Game - Scoring and Lives: Post-Lecture Quiz", "title": "Pelajaran 19 - Game Luar Angkasa - Penilaian dan Kehidupan: Kuis Pasca-Kuliah",
"quiz": [ "quiz": [
{ {
"questionText": "What's a fun way to show how many lives a player has left?", "questionText": "Apa cara yang menyenangkan untuk menunjukkan berapa banyak nyawa yang tersisa?",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "a number of ships", "answerText": "jumlah kapal",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "a points system", "answerText": "sistem poin",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
}, },
{ {
"questionText": "How do you center text in the middle of the screen using the Canvas element?", "questionText": "Bagaimana Anda memusatkan teks di tengah layar menggunakan elemen Canvas?",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "You use Flexbox", "answerText": "Anda menggunakan Flexbox",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "You instruct the text to be drawn at the x coordinate of the client window width/2", "answerText": "Anda menginstruksikan teks yang akan digambar pada koordinat x dari lebar jendela klien/2",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "You set the textAlign property to the value center on the context object", "answerText": "Anda menyetel properti textAlign ke pusat nilai pada konteks objek",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
}, },
{ {
"questionText": "In code, deduct a life like this:", "questionText": "Dalam kode, kurangi nyawa seperti ini:",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "this.life-", "answerText": "this.nyawa-",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "this.life--", "answerText": "this.nyawa--",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "this.life++", "answerText": "this.nyawa++",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
@ -1988,51 +1988,51 @@
}, },
{ {
"id": 39, "id": 39,
"title": "Lesson 20 - Space Game - End and Restart: Pre-Lecture Quiz", "title": "Pelajaran 20 - Game Luar Angkasa - Akhiri dan Mulai Ulang: Kuis Pra-Kuliah",
"quiz": [ "quiz": [
{ {
"questionText": "When is a good time to restart a game", "questionText": "Kapan waktu yang tepat untuk memulai kembali permainan",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "when a player wins or loses", "answerText": "ketika seorang pemain menang atau kalah",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "whenever", "answerText": "kapanpun",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
}, },
{ {
"questionText": "When should a game end", "questionText": "Kapan pertandingan harus berakhir",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "when an enemy ship is destroyed", "answerText": "ketika kapal musuh dihancurkan",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "when a hero ship is destroyed", "answerText": "saat kapal pahlawan dihancurkan",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "when points are collected", "answerText": "saat poin dikumpulkan",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
}, },
{ {
"questionText": "A good way to add a level to your game is:", "questionText": "Cara yang baik untuk menambahkan level ke game Anda adalah:",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "Increment the amount of points necessary to complete a given level", "answerText": "Meningkatkan jumlah poin yang diperlukan untuk menyelesaikan level tertentu",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "Add more players to the game", "answerText": "Tambahkan lebih banyak pemain ke dalam game",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "Add more graphics to the game", "answerText": "Tambahkan lebih banyak grafik ke dalam game",
"isCorrect": "false" "isCorrect": "false"
} }
] ]
@ -2041,51 +2041,51 @@
}, },
{ {
"id": 40, "id": 40,
"title": "Lesson 20 - Space Game - End and Restart: Post-Lecture Quiz", "title": "Pelajaran 20 - Game Luar Angkasa - Akhiri dan Mulai Ulang: Kuis Pasca-Kuliah",
"quiz": [ "quiz": [
{ {
"questionText": "What is a good pattern to use when a game end condition has been met?", "questionText": "Apa pola yang baik untuk digunakan ketika kondisi akhir permainan telah terpenuhi?",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "Display a suitable message", "answerText": "Tampilkan pesan yang sesuai",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "Quit the game", "answerText": "Keluar dari permainan",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "Display a suitable message, offer the player to restart, and display what key to hit for that action", "answerText": "Tampilkan pesan yang sesuai, tawarkan pemain untuk memulai kembali, dan tampilkan tombol apa yang harus ditekan untuk tindakan itu",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
}, },
{ {
"questionText": "You should offer a restart only when the game has ended", "questionText": "Anda harus menawarkan restart hanya ketika permainan telah berakhir",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "true", "answerText": "benar",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "false", "answerText": "salah",
"isCorrect": "true" "isCorrect": "true"
} }
] ]
}, },
{ {
"questionText": "A good way to clear the EventEmitter when ending a game is:", "questionText": "Cara yang baik untuk membersihkan EventEmitter saat mengakhiri permainan adalah:",
"answerOptions": [ "answerOptions": [
{ {
"answerText": "clearing listeners", "answerText": "membersihkan listeners",
"isCorrect": "true" "isCorrect": "true"
}, },
{ {
"answerText": "clearing the screen", "answerText": "membersihkan layar",
"isCorrect": "false" "isCorrect": "false"
}, },
{ {
"answerText": "closing the game window", "answerText": "menutup jendela permainan",
"isCorrect": "false" "isCorrect": "false"
} }
] ]

Loading…
Cancel
Save