Posts

Showing posts from August, 2021

Featured Posts

فرصة تطوعية مميزة لطلاب وطالبات الجامعة والمهتمين بالعمل الحر

Image
حُر HURR LEAP 2026 فرصة تطوعية حصرية فرصة تطوعية مميزة لطلاب وطالبات الجامعة  والمهتمين بالعمل الحر Leap 2026 - hurr ٧٥ سفير فقط يمثلون منصة حُر في أكبر حدث تقني بالمنطقة 📍 المكان ملهم، الرياض 🗓️ التاريخ 31 أغسطس – 3 سبتمبر وش بتستفيد كسفير لـ "حُر"؟ 🎟️ تذكرة دخول طوال فترة المعرض. 💼 الحصول على مشاريع حقيقية مباشرة من زوار المعرض. 📜 شهادة تطوع معتمدة. 🏅 باجات رسمية باسم "سفير حُر". 👑 اشتراك مميز مجاني في المنصة. 🎓 ورشة تدريبية مجانية للتحضير قبل الحدث. 📝 خطاب خبرة وتوصية للمتميزين. 🏆 جوائز يومية لأفضل السُفراء. 🚌 المواصلات مؤمّنة الذهاب: باص كل 15 دقيقة من محطة مترو SAB (من 12 ظهراً حتى 5 عصراً). العودة: إلى محطة مترو SAB (من 3 عصراً حتى 10 مساءً). انضم الآن وسجّل كسفير ← ⚠️ المقاعد محدودة والتسجيل يخضع للمفاضلة.

Python Game - Dragon Cave Game

Image
 Python for Beginners: Build a "Dragon Realm" Game🐲 Python Game - The Dragon Cave Are you looking for a fun way to practice your Python skills? This short game—originally featured by Al Sweigart in Invent Your Own Computer Games with Python—is a fantastic way to understand how programs make decisions. The Story You are in a land full of dragons. In front of you, you see two caves. In one cave, the dragon is friendly and will share his treasure. The other dragon is greedy and hungry , eating anyone on sight! The Twist: The "safe" cave is randomized every single time you play. Even if you choose Cave 1 twice, the outcome might be different. This is the power of the random module! Key Programming Concepts Used To make this game work, we use four essential Python features: import random & time: We use modules to give the program "superpowers." random allows the computer to make a choice, and time creates suspense by pausing the text. User-Defined Function...