Building Tetris Tetrominoes in JavaScript
Master the logic, rotation, and rendering of classic game pieces using modern JavaScript and the Canvas API to start your 2D game development journey.
حول هذه الدورة
Creating a classic grid-based game requires a solid grasp of how game pieces are represented, moved, and rendered. Understanding how to manage these shapes is the foundation of 2D puzzle game mechanics. In this text-only course, you will learn how to design, position, and manipulate Tetromino pieces using modern JavaScript. You will transition from basic coordinates to fully functional, rotatable game pieces that interact correctly with a game board.
What you'll learn:
- Understand the mathematical representations of classic game grid shapes
- Render game pieces dynamically using the JavaScript Canvas API
- Implement rotation logic and boundary collision detection algorithms
- Structure your game code cleanly using modern JavaScript ES6+ classes
- Manage game state transitions as pieces move, lock, and clear lines
The course begins with foundational definitions of grid coordinates and matrix representations of shapes. You will then progress through step-by-step written guides on rendering, movement, and collision logic, culminating in clean, modular code ready for any 2D browser game.
This course is designed for beginner JavaScript developers who want to apply their coding skills to game logic. No prior game development experience is required.
Start reading today to build the core mechanics of your own grid-based puzzle game.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في درس؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
🎧
النسخة الصوتية مضمَّنة
تعلَّم أثناء تنقُّلك — دون شاشة -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
58 دقيقة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع
×2
اشحن مرة واحدة وادفع النصف
أضف DA 13,000 → احصل على 200 أرصدة. كل فئة تكلف DA 1,625.00 بدلاً من DA 3,200.00. الأرصدة لا تنتهي أبداً.
DA 13,000
200 رصيد
DA 1,625.00 / درس
أفضل قيمة
DA 33,000
550 رصيد
DA 1,500.00 / درس
DA 65,000
1200 رصيد
DA 1,354.17 / درس
بدون اشتراك. الرصيد يصلح لأي درس ولا ينتهي.