Coding Minecraft In 5 Seconds – Python/ OpenGL Programming Challenge

Coding Minecraft In 5 Seconds – Python/ OpenGL Programming Challenge


It all began with creating Minecraft and mum we can use a 3d by Shane Bay and so I challenged him and created Minecraft and mum week using C++ and OpenGL and Then tech box went to the extreme and coding minecraft and just one day mutant seafoody But now for a change that are so ridiculous the impossible an out of this world but most even beyond have stood stop thought it could be done and that Challenge is coding Minecraft and playfun in just 5 seconds. Is it even possible? Well, there’s only one way to find out so let’s begin So I’m just going to start the timer quickly and again, I’m just going to import minecraft and we’re done So let’s go ahead and run this to see the result So as you can see our program generates a world and we have the ability to retrieve blocks as well as police room blocks And yeah, that’s pretty much it. Thank you for watching So anyways all jokes aside a lot of people have been wondering why I haven’t really been Uploading at all in the last few months And the truth is I’ve just been very busy with University where I can all about at the moment and that’s my priority for now But in the summer, which is in about two months time just off the Jean which is when way someone’s finished I’ll be uploading much more frequently It’s just that making videos takes a very long time to make like even this video which was just a minute long took about five Or six hours to create. But yeah anyways in the summer I will hopefully be uploading a lot more now lastly in case you didn’t know I was so every disc or server you want to? Talk to me about whatever you want to or if you just want to you talk to the other people there It’s mostly just a programming server So if you want to talk people about programming if you have any questions or all the stockades and help or anything just feel free to ask my server and people will be very happy to help you can find an invite link to this in the Description below so it is quick. Shout out to my patreon supporters Say Thank You Killick crazy man Hayden Timothy Givens Timmy Schroeder Allen Fernandez read of Charlotte Lucas Aaron Berger Neal Blakely Mona and Nate brown. Thank you for these four. So Anyways, once again, thank you for watching and I’ll see you all next time

100 thoughts to “Coding Minecraft In 5 Seconds – Python/ OpenGL Programming Challenge”

  1. I broke your game, with precisely placed jerking mouse moves underwater I inserted CPU assembly code that turned the game into an unreleased Duke Nukem 4D game.

  2. lol i knew you'd use a library that literally contained all the code for it because its the only way you could code such a complicated thing in five secondd

  3. You should look for TerraCraft on github! is a fork of Minecraft in Python with some improvements. It would be nice to find someone to implement a hotbar, and a better world generator.

  4. OMG I don't play Minecraft, don't understand all the code, didn't even really understand how to use Git and even I think this is cool lol.

  5. Hey I found your channel with the Minecraft video and it really inspired me to learn to code. I’ve got to a bunch of different websites and have learned a lot but I would like to know what u did to learn to code like u did in that video, I really enjoy your videos, thx for everything 😄 have a nice day

  6. Ahahahah Python is great!

    Edit: What do you think about this code?
    ###
    # Created by Afonso Hipólito

    '''

    INSTRUCTIONS

    I suggest you try to copy and paste this code on your editor and run it.

    Thanks! 🙂

    '''

    import datetime

    login_date = "Date of login: {}".format(datetime.date.today()) # gets the current date

    # login_time = "Time: {}-{}-{}".format(datetime.time.hour, datetime.time.minute, datetime.time.second)

    now = datetime.datetime.now()

    login_time = now.strftime("%H:%M:%S")

    # command menu

    '''

    [1] Login to an existing account

    [2] Forgot password

    [3] Create new account

    [4] Delete existing account

    '''

    print("=-=" * 10)

    print(" " * 8, "Login Form")

    print("=-=" * 10)

    print("Choose a command to execute:n[1] Login to an existing accountn[2] Forgot passwordn[3] Create new accountn[4] Delete existing account")

    user = ["John", "Jane"] # list of users

    pswd = ["Doe", "Doe"] # list of passwords

    n_user = len(user)

    repeat = "Y" # if YES repeat command choice if NO exit

    while repeat == "Y":

    cmd = int(input("Command: ")) # choose command [1, 2, 3, 4]

    # [1] login – verifies user and pass

    if cmd == 1:

    print("Enter your username:")

    username = input().strip().title() # user input

    print("User: ", username)

    if username not in user:

    print("nThis username doesn't exist.") # checks if the user is correct

    else:

    print("nEnter your password:")

    password = str(input()).strip().title() # password input

    passlen = len(password) # gets the length of the password input

    print("Pass: ", "*" * passlen)

    if password in pswd:

    index = pswd.index(password) # gets the index of the password (in the pswd list)

    if (username in user) and (password == pswd[index]): # checks if the password is == pswd index

    print("nAccess granted.") # checks if the user and the pass is correct

    print("n{}; {}".format(login_date, login_time)) # prints the current date

    if (username in user) and (password != pswd[index]):

    print("nIncorrect password.nAccess denied.") # checks if the pass is correct

    else:

    print("Incorrect password.nAccess denied.")

    # checks if you want to execute another command (Y/N)

    print("nDo you want to execute another command?")

    repeat = input("[Y] / [N]").strip().upper() # if repeat is yes it will loop the command choices

    # [2] forgot password – verifies user

    elif cmd == 2:

    print("Enter your username:")

    username = input().strip().title()

    if username in user:

    index = user.index(username)

    recover_pass = n_user – index – 1

    print("The password for the Username '{}' is '{}'.".format(username, pswd[recover_pass]))

    else:

    print("The Username '{}' doesn't exist.".format(username))

    # checks if you want to execute another command (Y/N)

    print("nDo you want to execute another command?")

    repeat = input("[Y] / [N]").strip().upper() # if repeat is yes it will loop the command choices

    # [3] create new account – adds a user and a pass

    elif cmd == 3:

    new_user = input("Enter new Username: ").strip().title() # gets new username

    user.append(new_user) # adds the new username to the end of the user list

    new_pass = input("Enter new Password: ").strip().title() # gets new password

    pswd.append(new_pass) # adds the new password to the end of the pswd list

    print("The new account's Username is {} and it's Password is {}.".format(new_user, new_pass))

    # checks if you want to execute another command (Y/N)

    print("nDo you want to execute another command?")

    repeat = input("[Y] / [N]").strip().upper() # if repeat is yes it will loop the command choices

    # [4] deleting existing account – deletes any user and it's password

    elif cmd == 4:

    del_user = input("Enter the Username you want to delete: ").strip().title() # user to delete

    if del_user in user:

    confirm_pass = input("Confirm the deletion with the Password for that Username: ").strip().title() # pass to delete

    del_user_index = user.index(del_user) # gets the index of the user you want to delete

    del_pswd_index = del_user_index # gets the index of the pass you want to delete

    if confirm_pass == pswd[del_user_index]: # checks if the input pass is == to the pswd index you want to del

    print("The account will now be deleted.")

    del user[del_user_index] # i can also use pop() to delete the user

    del pswd[del_pswd_index] # i can also use pop() to delete the user

    else:

    print("The Username '{}' doesn't exist.".format(del_user))

    # checks if you want to execute another command (Y/N)

    print("nDo you want to execute another command?")

    repeat = input("[Y] / [N]").strip().upper() # if repeat is yes it will loop the command choices

    # not a command to choose

    else:

    print("The command [{}] does not exist.".format(cmd))

    print("nExit execution.")
    ###
    Please give me feedback ☺️

  7. Hey, i really like your videos and i hope you can help me. You know the julia sets have all different not integer dimensions. I think it would be very interesting to have a map of the mandelbrot set that shows the magnitude of the dimension of the julia set for that parameter c.
    So a higher dimension creates a darker point. So the program needs to create the julia set, then to calculate it's dimension (i think box-counting) and then to give the point a magnitude. I am a beginner at programming and i do not get it. But maybe you think it's interesting too and you take the challenge 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *