Python Tutorial 1 – Creating a simple game.

///Python Tutorial 1 – Creating a simple game.

Python Tutorial 1 – Creating a simple game.

FavoriteLoadingAdd to favorites

The IDE used – Download Pycharm:
Hacking Demo:

New Updated Code Here: (WITH JAVA COMPARISON) MUCH WATCH!

Want to support my channel?

I’ll be eternally grateful

In this video I go through the basics of Python by showing you how to create a simple guess the number game.

Creating this game with a GUI:

Please subscribe & like for more content, tutorials and tips!

**********************************

Download Python:
Download Pycharm:
CODE FOR THE GAME HERE (updated 2018):

***********************************

Connect With Me:
Twitter:
Website: www.codeoncommand.com

***********************************

source

By |2019-12-29T00:50:37+00:00December 29th, 2019|Python Video Tutorials|24 Comments

24 Comments

  1. CodeCommand December 29, 2019 at 12:50 am - Reply

    new link with much better code: https://goo.gl/vMtAVK

  2. Marc Hinton December 29, 2019 at 12:50 am - Reply

    Great video, you're not from Liverpool too by any chance are you?

  3. Serena Sing December 29, 2019 at 12:50 am - Reply

    thank you so much, this was so fun!!

  4. Lucyfer December 29, 2019 at 12:50 am - Reply

    maaa earsss

  5. Lamis Sghaier December 29, 2019 at 12:50 am - Reply

    I can't see anything bro🤷🏻‍♀️🤦🏻‍♀️

  6. TRoOpEr 12 December 29, 2019 at 12:50 am - Reply

    It's

  7. TRoOpEr 12 December 29, 2019 at 12:50 am - Reply

    Thank you for the tutorial the game May be basic but its cool

  8. Dente December 29, 2019 at 12:50 am - Reply

    What is the IDE he's using in this video?

  9. awoum December 29, 2019 at 12:50 am - Reply

    Wow thank you very much
    I really liked this tutorial, the best one I've seen so far xd
    Most of them are difficult or doesn't have practical examples
    So thank you again

  10. Duckling Gaming December 29, 2019 at 12:50 am - Reply

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    14:35

    v

  11. Gurmeet Singh December 29, 2019 at 12:50 am - Reply

    Hi I am new to Python, should I be using Sublime text, Pycharm IDE (pro or free edition) or Anaconda What is pros and cons of each?

  12. CrimsonBlue13 December 29, 2019 at 12:50 am - Reply

    I want to include other option to reply like saying: “ nope, no way…. etc” instead of just typing “n”, but so far nothing works.

  13. Ethan Reed December 29, 2019 at 12:50 am - Reply

    Instructions unclear, I accidentally learned C++

  14. mobygaming December 29, 2019 at 12:50 am - Reply

    im gonna copy this and i have 2 hours and some mins left

    edit: i did it and its cool

  15. LaserGamer28 December 29, 2019 at 12:50 am - Reply

    In line 22 u can also replace the if with else

  16. Jawad December 29, 2019 at 12:50 am - Reply

    is this a game ?
    go to closer trash please

  17. Boötes Code December 29, 2019 at 12:50 am - Reply

    14:35 im happy i didnt have my headset on, my ears dont deserved to be raped so hard xD

  18. Dead Gamer101 December 29, 2019 at 12:50 am - Reply

    14:35 OOOOOOOOOOOOOFFFFFF… rip

  19. PySharp December 29, 2019 at 12:50 am - Reply

    Not bad but you used to much code

  20. ranu Lol December 29, 2019 at 12:50 am - Reply

    YO dude every time i do this shit the game ends up having and infinite number thats unguessable and tells me to keep going higher

  21. axino December 29, 2019 at 12:50 am - Reply

    Are the spaces a necessity

  22. Builder Bob December 29, 2019 at 12:50 am - Reply

    I made something like this in JavaScript. It's honestly a great starter project for beginner programmers. Good video!

  23. BLAZE December 29, 2019 at 12:50 am - Reply

    this is the code

    #!/usr/bin/env python3

    import random

    number = random.randint(1, 10)

    tries = 1

    aname = input("hello , what is your username?")

    print ("hello",aname + ".",)

    queston = input("would you like to play a game? [Y/N] ")

    if queston == "n":

    print ("oh..okey")

    if queston == "y":

    print ("im thinking of a number between 1 & 10")

    guess= int(input("have a guess:"))

    if guess < number:

    print("guess higher..")

    while guess != number:

    tries +=1

    guess = int(input("try again:"))

    if guess < number:

    print("guess higher")

    if guess == number:

    print ("you are right u win the number was", number,

    "and it only", tries, "tries!")

  24. Omar k December 29, 2019 at 12:50 am - Reply

    iut bugs when it says guess again..

Leave A Comment

*