Python Hangman Beginner to Advanced

Поделиться
HTML-код
  • Опубликовано: 13 июл 2024
  • In this video you will learn how to create a hangman game in Python both a beginner and an advanced version. The whole program will have less than 50 lines of code, enjoy :)
    SOCIAL:
    Twitter: / sanjindedic
    Facebook Page: / learnhsa
    WEBSITES
    www.headstartacademy.com.au/
    robotix.com.au/
    About me
    I have been a technology enthusiast from as long as I can remember with a special love for robots. I completed my Robotics degree at A.N.U and majored in Computer Vision. In 2012 after 5 years working as a Design Engineer, I decided to get into education. My first passion was bringing Arduino Programming and 3D printing to schools but I as the years went by Python became my new favourite toy for creating text based applications like chatbots and 2D games. Since 2015 I have been teaching part time while authoring books and online courses used by tens of thousands of students across Australia as well as doing extensive teaching training in collaboration with Digital Learning and Teaching Victoria.
    About Head Start Academy
    I believe that coding is an extremely useful and universally valued skill. Today most students in Australia experience some coding in school or in after school programs. Some students enjoy it immensely and are left wanting more, these are the students I want to help. My goal is to build on that enthusiasm, introduce them to like minded peers and help them learn the skills and habits that will set them on a path to excellence in Computer Science.
    In our classes students will experience the following:
    • Small group learning: 6 - 12 students
    • Instruction from an educator who has university level qualifications in both education and Digital Technologies
    • Minute by minute peer and instructor feedback on their code
    • Lifetime access to learning materials (videos + pdf guides) for all the content covered
    • Research skills and best practice use of coding websites like Stack Overflow and GitHub
  • НаукаНаука

Комментарии • 10

  • @AkashdeepDam
    @AkashdeepDam 3 года назад

    It's very good way to make this easy to understand. Just superb !! 👍🤗 Thank You ☺️

  • @SanjinDedic
    @SanjinDedic  4 года назад +1

    TIMESTAMPS:
    0:00 Introduction
    0:50 Demonstration of how the game works
    2:59 Coding begins
    7:38 Minimum version complete with whole word guessing
    11:09 Basic Hangman Finished
    12:23 Reorganizing code into functions
    17:35 Working with images
    26:22 Final version working

  • @lordshiv9290
    @lordshiv9290 3 года назад

    Wow I really Like the way you are teaching.. Thankyou :)

  • @SanjinDedic
    @SanjinDedic  4 года назад

    Starter code available here: repl.it/@SanjinDedic/hangman-starter

  • @rutvikpatel9471
    @rutvikpatel9471 3 года назад

    What if we want to add hints of the word , how can we do it? is it Possible?
    if yes, please help how to do it.

  • @codewithsoham4532
    @codewithsoham4532 3 года назад

    ur voice is increadible

  • @sivasurya4149
    @sivasurya4149 3 года назад

    Great bro and keep continue. ..from in india

  • @KingQAT
    @KingQAT 3 года назад

    for some reason, guess == word is not working for me, my loop wont stop even though i put the word? i have exact code
    word = "hi"
    import random, os
    word = "HAPPINESS"
    reveal = list(len(word)*'_')
    # print(reveal)
    lives = 7
    gameWon = False
    while gameWon == False and lives > 0:
    guess = input('Guess a letter or an entire word:')
    guess = guess.upper()
    if guess == word:
    gameWon = True
    else:
    lives-=1
    if gameWon:
    print('You guessed it!')
    else:
    print('you failed the word was:', word)

  • @sivasurya4149
    @sivasurya4149 3 года назад

    'clear' is not recognized 9:14