Python Game Programming: Build a Command-Line Game with Enums
Learn Python fundamentals by building an expanded Rock-Paper-Scissors-Lizard-Spock game using clean code practices and structured logic.
-
💬
ผู้สอน AI
ถามเกี่ยวกับบทเรียนใดก็ได้ แล้วรับคำตอบที่ชัดเจนทันที ทุกเมื่อ -
🕐
เริ่มเมื่อไรก็ได้
ไม่มีตารางหรือเดดไลน์ — เรียนตามจังหวะของคุณ เมื่อไรก็ได้ -
🌐
เป็นภาษาไทย
บทเรียน แบบฝึกหัด และใบรับรอง — ทั้งหมดเป็นภาษาของคุณอย่างครบถ้วน
เกี่ยวกับคอร์สนี้
Building games is one of the most effective and engaging ways to master programming fundamentals. This text-based course guides you through creating an expanded version of the classic Rock-Paper-Scissors game—adding Lizard and Spock—directly in your terminal. You will transition from basic syntax to writing structured, clean, and maintainable Python code. You will learn how to model complex rules using standard library tools, manage game state, and build an interactive command-line experience. What you'll learn: Understand core Python concepts, including variables, loops, and conditional statements; Implement IntEnum to represent game choices cleanly and prevent logical errors; Apply modern Python features like type hints and structural pattern matching for robust control flow; Structure interactive game loops that handle user input and validate choices gracefully; Organize code into modular functions following clean coding standards. The course starts with foundational terminology, defining game rules and setting up your development environment. You will then progress step-by-step through writing the logic, handling comparisons, and refining the command-line interface. This course is designed for beginner Python learners who want to apply their knowledge to a fun, practical project. No prior game development experience is required. Start reading today and build your first structured command-line game from scratch.
สิ่งที่คุณจะได้รับ
-
📜
ใบประกาศนียบัตร
เพิ่มในโปรไฟล์ LinkedIn ของคุณ -
💬
ติวเตอร์ AI ส่วนตัว
ติดขัดในบทเรียน? ถามติวเตอร์ในตัวของคุณได้ทุกอย่าง ทุกเวลา -
🎧
รวมเวอร์ชันเสียง
เรียนได้ทุกที่ ไม่ต้องดูจอ -
♾️
เข้าถึงตลอดชีพ
กลับมาเรียนได้ตลอด ไม่มีหมดอายุ -
📱
โทรศัพท์หรือคอมพิวเตอร์
ใช้งานได้ทุกที่ ทุกอุปกรณ์ -
💸
คืนเงิน 14 วัน
ไม่ต้องอธิบาย -
⚡
กระชับและตรงประเด็น
2 ชม. 54 นาที เนื้อหาเชิงปฏิบัติ
รีวิว
ยังไม่มีรีวิว — เป็นคนแรกที่แชร์ประสบการณ์
ผู้เรียนคนอื่นเรียน
🏆 ยอดนิยมมากที่สุด
🎓 มีใบรับรอง
พื้นฐานของ Dynamic Programming ใน Python, JavaScript, และ Java
ใบรับรอง
ลงมือทำ
฿539
→
🔥 ยอดนิยม
🎓 มีใบรับรอง
Python Programming Foundations for Absolute Beginners
ใบรับรอง
ลงมือทำ
฿539
→
🔥 ยอดนิยม
🎓 มีใบรับรอง
การเขียนโค้ดสำหรับเด็ก: คู่มือผู้ปกครองสำหรับแหล่งข้อมูลฟรี
ใบรับรอง
ลงมือทำ
฿539
→
🔥 ยอดนิยม
🎓 มีใบรับรอง
พื้นฐานการเขียนโปรแกรม Python สำหรับนักเรียน
ใบรับรอง
ลงมือทำ
฿539
→
คำถามที่พบบ่อย
ฉันต้องใช้อะไรในการเรียนคอร์สนี้? +
แค่โทรศัพท์หรือคอมพิวเตอร์ที่มีอินเทอร์เน็ต ไม่ต้องติดตั้งหรือใช้อุปกรณ์พิเศษ
ฉันชำระเงินอย่างไร? +
ผ่านบัตรด้วย Stripe เราไม่เก็บข้อมูลบัตร — Stripe จัดการอย่างปลอดภัย
ฉันขอคืนเงินได้ไหม? +
ใช่ — คืนเงินเต็มจำนวนใน 14 วัน ไม่ต้องอธิบาย
ฉันมีสิทธิ์เข้าถึงนานเท่าไร? +
ตลอดไป เมื่อซื้อแล้วคอร์สเป็นของคุณ กลับมาเรียนได้ตลอด
ฉันจะได้ใบประกาศนียบัตรไหม? +
ได้ เมื่อเรียนจบจะได้รับใบประกาศนียบัตรที่เพิ่มในโปรไฟล์ LinkedIn ได้
ออกแบบสำหรับผู้เรียนใน
เทคโนโลยี
ดีไซน์
การเงิน
การตลาด
สาธารณสุข
การศึกษา
ธุรกิจการบริการ
อุตสาหกรรม