Building a Tetris Game with JavaScript and HTML Canvas
Learn core game mechanics, state management, and HTML Canvas rendering by building a classic arcade game from scratch using modern JavaScript.
-
💬
مدرب ذكاء اصطناعي
اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت. -
🕐
ابدأ في أي وقت
بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك. -
🌐
بالعربية
الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
Want to transition from writing basic scripts to building interactive web applications? Creating a classic grid-based game is one of the most rewarding ways to master modern JavaScript and understand visual rendering. This text-only course guides you through the entire process of building a fully functional Tetris-style game from scratch. You will move from foundational concepts to advanced game logic, gaining a deep understanding of how code translates into real-time interactive elements on the screen. What you'll learn: 1. Understand foundational HTML Canvas drawing APIs and grid-based rendering. 2. Implement core game loop structures using modern, performance-friendly methods. 3. Manage complex game states, including piece rotation, collision detection, and line clearing. 4. Apply modern JavaScript features, including ES6 classes and modular code organization. 5. Create responsive keyboard controls and user input handling mechanisms. 6. Structure clean, maintainable code that can be easily extended with new features. You will start by exploring key game development terminology and the basics of rendering shapes on a canvas. From there, the course walks you through structuring the game board, handling active game pieces, and implementing the rules of gravity, collision, and scoring. This course is designed for aspiring developers and beginners who have a basic grasp of HTML and JavaScript and want to apply their skills to a complete, practical project. No prior game development experience is required. Start reading today and build your first browser-based game step-by-step.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
2 ساعة 54 دقيقة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
المتعلمون أخذوا أيضًا
🔥 رائج
🎓 بشهادة
أساسيات البرمجة للأطفال: البرمجة باستخدام Minecraft
شهادة
تطبيق عملي
$14.99
→
🔥 رائج
🎓 بشهادة
برمجة Scratch: صنع أول ألعابك
شهادة
تطبيق عملي
$14.99
→
🔥 رائج
🎓 بشهادة
الذكاء الاصطناعي لمحتوى الألعاب: بناء قناة بدون ظهور
شهادة
تطبيق عملي
$14.99
→
🔥 رائج
🎓 بشهادة
الخطوات الأولى في برمجة سكراتش للمتعلمين الصغار
شهادة
تطبيق عملي
$14.99
→
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع