i learned so much from the first five mins of the video that i have ever did with my computer classes in school
@davidlaidbiggestfan2124 жыл бұрын
What kind of school do you go to lol
@crossi54544 жыл бұрын
@@davidlaidbiggestfan212 A really hubristic one
@jkho83654 жыл бұрын
I Lol'ed at this comment
@kingpeanut72734 жыл бұрын
shows how bad the school system is.
@crossi54544 жыл бұрын
@@kingpeanut7273 I just have a ton of classmate that don't listen and fool around. My teacher knows how bad the school system is, and he does his best to teach independently from it
@michaellamb10074 жыл бұрын
im teaching myself to code while in quarentine and this is really helpful!
@sneaky_slayerrr3 жыл бұрын
that is a very good use of your time
@raghavgupta17973 жыл бұрын
He made this video before Co Covid was a thing. And yes I call it Co Covid cause in one of the languages I know it means crazy.
@idfkwhattoputhere1 Жыл бұрын
hello from 3 years later :)
@rubbrbanana9654 Жыл бұрын
How did it go?
@SBG_Arseny5 жыл бұрын
I really appreciate this tutorial! This 11 Mins took me more hours than I'd like to say but, I got it and that's what matters!
@TechWithTim5 жыл бұрын
Awesome! Keep up the good work :)
@learntoreadjapanese15505 жыл бұрын
Arseny lol same
@laurenblake20013 жыл бұрын
Doing this for a school assessment, this is sure to give me good marks!
@5IVES-TCR3 жыл бұрын
same
@sneaky_slayerrr3 жыл бұрын
@@5IVES-TCR same
@brendanritchie95393 жыл бұрын
@@sneaky_slayerrr same
@neyverh1233 жыл бұрын
same
@RuskyDev2 жыл бұрын
lol i am making a game and i am learning python-pygames
@raphaelmacedo44673 жыл бұрын
I have been thinking a LOT on doing this kind of game, with some drawings using text input as well. Maybe publishing it on steam? I started studying python this week, so I am full of ideas, but my focus would be an RPG text based game with items, combat, “exploration”, choices. A good combat system, instead of just putting as a fixed choice, would be to use the random module. For example, some enemy can have an attack range of [0-4], 0 being a miss and 4 a critical hit, and your character as well, having more attack, HP, as it levels up...
@deimos3513 жыл бұрын
Have you made one yet? If not, good luck if you're still trying to make one
@xxanimemixx45732 жыл бұрын
lets us know when its done, id love to try it out
@xxanimemixx45732 жыл бұрын
And pls have it on ps aswell so that i can try it out!
@karygordo4 жыл бұрын
I have been learning so much with you brother! I will deff support you mate! You have such a responsible personality, thanks for spreading the knowledge! Keep up the greqt work Tim!
@abdullaharif73856 жыл бұрын
please do more on pygame like creating platforms for characters to jump on
@elcessabit25933 жыл бұрын
I have been a coder for 5 years I learnt so much in this video
@yourmom63512 жыл бұрын
😂😂😂🤡
@WPatrickOfficial4 жыл бұрын
Dude you're so polite and humble. Please keep it up, this video was great.
@Wylasicom4 жыл бұрын
this guy is literally a living stack overflow any question I have this guy answers
@PatriekAndringa7 ай бұрын
Thank you for making the tutorial. I was trying to begin making such a game yesterday but I didnt know how to do it until now. Thank you so much.
@getting__somewhere4 жыл бұрын
Aaah really had to drop this here!! Thank you so much for this video omg it really really helped me get started on an assignment I thought I had 0% chance of completing but this really stirred me and it's so much fun LOL. Hope you're doing well!
@catsinabox1212 жыл бұрын
I FIND THIS AFTER DAYS OF SEARCHING. THANK YOU.
@jesseobeirne9468 Жыл бұрын
Hey, I just wanted to say. This video is featured as part of an IT course for TAFE NSW in Australia, So I just wanted to spread that they must think it's pretty good. Congratulations!
@MrSeanandRyan3 жыл бұрын
This is an excellent video. Gave me everything I needed to know in 11 min.
@elcapitan5492 жыл бұрын
Bro, you are fully exposed to vampires.
@kamryenwashington48824 жыл бұрын
This was so so helpful i made this game like a year ago and forgot how to do it but thanks to you i remmber so thank you so mch
@fredriko64445 жыл бұрын
the while True statement makes it ask if I would like to play after ever decision in my game. Does this happen to anyone else? Or do you know how to fix?
@hereiseminem4 жыл бұрын
If you still need an answer, you may not have indented properly. Make sure everything below the while True is shifted by one tab-space to the right. You can select everything except the while True and hit tab if you are in Pycharm. Don't forget the break in the else to stop the infinite loop when you want.
@elianderson88493 жыл бұрын
6 weeks in a class about pyCharm and I learned more from this video
@TheLaughterAsylum4 жыл бұрын
wow man you taught me two new things thanks a lot, going to share this video in my Python squad
@iagodecarvalho30555 жыл бұрын
Thanx for the tutorial, just subscribed. Could you make a video teaching how to make an inventory system to this game?
@Ram-dw3hv3 жыл бұрын
This video really helped me with my assignment for school that i really had no hope of doing on my own. THANK YOU SO MUCH!!!!!!!!!
@Ashleysbaking2 жыл бұрын
I remember playing games like this when I was very young. Kings quest. It’s very similar and was a lot of fun. Defiantly going to try making my own
@kelceyfirth6 жыл бұрын
Not sure if this is more intermediate but I put all of the parts into functions which return a variable which has the next function. I used while loops to validate the answers and created characters which ask questions (inputs) and retrieve the information at a later time.
@00mad_max Жыл бұрын
im learning how to code because of this one girl i truly love. shes a comp engg!!
2 жыл бұрын
Thank you for your help. I've learned so many things because I've no xp in this stuff. It makes me feel amazing, I will try to create my own text-based game, first this then an apk. Thank you so much
@kemmyexists5 ай бұрын
thank you i think its finally starting to click for me with this programming stuff edit: so I decided to program this zombie NYC apocalypse! so far I have completed 4 endings! this is a lot of fun thank you so much for being easy with this guide. I can finally understand some part of coding without it feeling alien.
@busterdafydd30962 жыл бұрын
Looking at this tutorial... And then his subs, and then his most recent videos... Something doesn't add up quite well. Well I'm glad he's got better at programming than this
@deoxybribedcoding28033 жыл бұрын
From what i've learned with python all you need to learn for a text adventure is 1. print("") 2. input = ("") 3. def something(): something() make sure if you're making a long one display it like this def something(): print("Text") name = input("Name:") something() thats very basic but it includes all 3 points. def can be named anything and so can the input
3 жыл бұрын
Isn’t Python the most beautiful language?
@deoxybribedcoding28033 жыл бұрын
@ sure is until vsc decides to say syntax error even if there isn't one 😭
@mrunixman15792 жыл бұрын
I am having a go at another one which relates to an old dream of mine. I have done one previously to mock granny's garden type game. I done many python courses myself. Mine involves a tower in middle of nowhere which is guarded and some hateful man. It uses ASCII drawings too. Some of these ideas also came out of Final Fantasy 14.
@amyana91203 жыл бұрын
I love your videos and I subscribed and always liked your videos
@turtle4134 жыл бұрын
AWEESOME VIDEO BRO !!!! I'm very new to python and out of ten different things I watched, this is the Best ! THANK YOU !
@5IVES-TCR3 жыл бұрын
you helped me so much man i needed to make some kind of game for school and I had no idea what to do but you taught me a lot.
@حسينمحمدكاظم-ي6غ2 жыл бұрын
Dude you are a legend, I really love watching your videos and i learn a lot of it Thanks for that vid😊
@WaynesStrangeBrain3 жыл бұрын
Thanks, I gave this exact assignment to my students and this video is perfect.
@Larry2192411 ай бұрын
Your narrative is compelling; much like a book I cherished for its depth. "A Life Unplugged: Reclaiming Reality in a Digital Age" by Various Authors
@00Gerny003 жыл бұрын
Can you do this outside the terminal so you can make the text larger and maybe implement images?
@musiclife55513 жыл бұрын
Definitely you can and obviously the project will get a little bit more complex! You can use flask and make your app work in the browser. You will sending choices as a response on get request and handle user input as answer using post request! It's not hard but you need a little bit practice with that
@dnss12324 жыл бұрын
This is the best tutorial I've ever seen! The only tutorial that really helped me creating a Text Adventure game! Appreciate it!
@markorossie92965 жыл бұрын
Thanks well done. Curious how this could be turned into a text-parser-like adventure so we could get rid of those static if-statements a bit. Thanks
@kimchiking1233 жыл бұрын
thank you I like the way you organize and write your code
@mrlemon98485 жыл бұрын
Bro ur videos are super helpful! THX
@nimomaniachannel3 жыл бұрын
ive run the code on the terminal (because im on linux) but it keeps saying "line 8: IndentationError: expected an indented block"
@BeaChapman3 жыл бұрын
I'm watching this exactly three years after it was published. Funny
@AlexAntuna3 жыл бұрын
Awesome video! Really enjoy your content!
@B1smarkk5 жыл бұрын
HI, thx a lot for this tutorial, it was well done. What would you recommend to focus on next as a beginner?
@JasonKalka3 жыл бұрын
Great video, really straightforward.
@IndigoStar5 жыл бұрын
Thanks for the great explanation :D
@AS-ej1zd4 жыл бұрын
Is there any way to 'export' the game so that someone can play it outside of the program? Or do they basically have to pull up the Python editor and type in the bottom of the screen in order to play every time?
@jamesmortensen68195 жыл бұрын
Feels like you could use booleans variables so as to not have so many nested ifs
@spanailos2 жыл бұрын
Hey, this Video is very helpful. I literally just started learning Python and programming in general and was looking exactly for this, trying to do my own little adventure. I have one question I am stuck right now. How can I make a restart in the game, when I loose. Like: answer = input ("You loose. Wanna restart the game?") if answer == "Yes" and now make the game jump back to the top to restart? I looked around a while on the internet, but could not find a way to make it happen. Does anyone can help me out how to do this?
@starksmusic.98826 жыл бұрын
Good Christmas gift
@dunadain1002 жыл бұрын
Would you have lessons on stats and dice rolling for choices If i wanted to add rpg elements?
@siddharthkale36704 жыл бұрын
Awesome video. Helped me a lot!!!
@GiGi-yk4xn5 жыл бұрын
very helpful video! thank you
@achintaacharya42966 жыл бұрын
Merry Christmas
@TechWithTim6 жыл бұрын
Thanks!
@mirabirazz Жыл бұрын
thank you so much for this lifesaver fr
@Haji_Original4 жыл бұрын
How do we create it as multiple choice with every answer having a different outcome?
@jean74644 жыл бұрын
You can make it as a if/else statement. If (go that way) than happens sometimes, else if (if you want more that two options) that happens sometimes else and then else and you write what should happen.
@WillowMayim4 жыл бұрын
Really fun! Just ran it through and it works great. Thanks!
@sandraciccarello32562 жыл бұрын
How would you include a win or lose condition to state whether you lost or won the game at the end instead of printing it after every choice?
@GuitarsRgood75 жыл бұрын
Great tutorial! Helped me better understand if statements, and I got to make a silly text adventure for people to play.
@shadowfrost-kz5vo4 жыл бұрын
is there a way to move the cursor in the game run tdown to the next line for the players input?
@freshness_of_air79093 жыл бұрын
This is by far the greatest tutorial i have ever watched. tysm
@panchod23254 жыл бұрын
i keep getting a expected an indented block error could someone please help me
@ChewingGumIsCool4 жыл бұрын
same
@trinitybulldogs4 жыл бұрын
I am just learning python. Your videos help. I have a question. If you were moving through a series of rooms and needed to collect items. What would be the code for that if the command would be get "item name"? One other thing if you move forward to a room and want to go backward to that room what would be the code for that? Thank you for your help in advance.
@adyanchowdhury43182 жыл бұрын
did you figure it out?
@vynshi2 жыл бұрын
Me and my friends made a game like this but with health, damage, random events and stuff like that. Very cool tutorial nonetheless
@vbps33 жыл бұрын
So if there are multiple choices, and it's a longer game, will there just be indentations that you have to scroll through? Is it hard to manage which indentation/choice you are on there?
@shikasketchbook7610 Жыл бұрын
Thank you so much for this tutorial, really appreciate it. I wonder how to package this with GUI or graphics, tq
@staaldak3 жыл бұрын
If the game started with "Would you like to play?" Instead of "What you like to play?" with a (yes/no) answer, I would have kept watching.
@Shwoble3 жыл бұрын
yeah but yes might be the name of the game
@etharno85664 жыл бұрын
does the .lower.strip affect the rest of the code after or only that input??
@fejiobbdo4 жыл бұрын
I would have really liked to learn some way of looping back to a specific line of code, to repeat an input prompt, in case the player makes a typo or something. Could I get a tip as to how I might do that?
@tybuddy1004 жыл бұрын
You can make functions. Then you could have it repeat a line of code without writing it again. I'll give you an example, when I put # I'm explaining something and it's not part of the code. def direction(): #makes a function that is named "direction" answer= input("Do you want to go left or right? ") if answer == "left" : print("You died") elif answer == "right": print("You escaped") else: direction() #this calls the direction function when an invalid answer is given. This will repeat all the code that is part of the direction function. direction() #you have to write the function name (call the function) in order to make it show when you run the program.
@wizardtowergames Жыл бұрын
What program are you using to types the python code in
@messykhermelice67523 жыл бұрын
Thank you so much for this video!!!!!
@ZorothTheAwesome3 жыл бұрын
I noticed there are these nice lines on your screen to help you space things correctly, I have python open and don't have them. How do I turn them on?
@darraghboland19085 жыл бұрын
hello I am on thonny and a weird pop if keeps telling me that there is a problem when handling top level responding have any ideas why?
@KlimVoroshilov-vg8wz5 жыл бұрын
This really helped me out. Liked and subbed.
@TechWithTim5 жыл бұрын
Thank you!
@Psycho480283 жыл бұрын
what coputer version of python do you use? I am having trouble with my current one
@adamfomin63283 жыл бұрын
What if u draw someone to a dead end is there anyway to have them go back to a previous step
@kaelyn13 жыл бұрын
oh so we don't need to put different variables for different answers? we can just use the same variable (answer)?
@musiclife55513 жыл бұрын
Yeah you can use the same variable. Also instead of hardcoding question in if statements you can create a list of dictionaries called scenes with some data you need for each scene(for example correct_answer and wrong_answer that would be messages you can choose between, next_question that will be the key of the next scene item and gameover_message that will be printed if you take the wrong path. And you can implement a function that will be consume these scene items and compare given answer with correct one and move the game to the next scene. These are some ideas, you can play around and learn by doing mistakes.
@kaelyn13 жыл бұрын
@@musiclife5551 oooohh okaay that's really helpful to know! thank you very much!
@SirJohnny05 жыл бұрын
Couldn't you make a program for each scenario and then make a main program where you import the scenarios into the correct pathways, to avoid a cramped program? Although it would be harder to debug.
@thegamecracks13175 жыл бұрын
Interesting idea, I've never thought of splitting scenarios like that. I can't think of a reason why it would be harder to debug, as Python will specify which module, or program, caused the exception. You can also raise custom exceptions to help explain what happened if say, you coded an incorrect parameter to one of your functions.
@matthewchaney59754 жыл бұрын
What thing are you typing on and how do you get it.
@maheedesai83624 жыл бұрын
I'm not sure what he's typing on, but you can use repl.it. It's a website.
@justme-kx9nk4 жыл бұрын
You can use codeskulptor3 it is great for coding if you are a beginner
@serenasing3 жыл бұрын
Thank you! This was fun and simple☺️
@dominicballinger65363 жыл бұрын
I'd recommend, at least to make it restart, to have the game code lay in a function and call it as long as a startup prompt is equal to y or yes or whatever.
@Uploadnamess6 жыл бұрын
So Good ♥
@ratman_jr53085 жыл бұрын
yo I have this program that isn't working very well and I was wondering if you could help me fix it print("The Ghost of Harambe By Cade you nonce") name = input("what's you're name? name: ") age = input("okay " + name + " how old are you? age: ") ins = input("you're name is " + name + " and you're age is " + age + " Correct Yes/No ") if ins.lower().strip() == "yes" or "Yes": print("Cool") elif ins == "no" or "No": print("Too bad") else: print("INVALID INPUT RESTART GAME") any help would be appreciated EDIT: did you make this video on Christmas?
@purplev27915 жыл бұрын
It would be great to include the error statement, if there is one! =) One mistake here might be the "or" operator in your if-statement. The or-operator sets another condition. Now it checks if a variable called "Yes" has the value true, because that's the default condition for an if-statement. So you would have to repeat the actual condition, for example: if ins.lower().strip() == "yes" or ins.lower().strip() == "Yes" But this isn't necessary. The .lower() makes sure the input of the user is lowercase. So the user could type in "YES" or even "YeS" and as long the variable ins has the lower() method, the value will become "yes". That's why you don't need the upper-case condition for "yes" and "no". I hope you already found the solution in the meantime. :)
@makian_real5 жыл бұрын
Problem is on line 2 replace you're with your
@JoeCnNd2 жыл бұрын
ok, trying this in sublime and when I build it actually builds and I answer the question yes and it doesn't do anything. The answer is in white like the question and doesn't turn green like yours either.
@gameryusic8254 жыл бұрын
I coded a Jojo theme fighting game thanks to you. THANK YOU!
@atiaemmanuel91493 жыл бұрын
Can I no how
@Uploadnamess6 жыл бұрын
Hello Dude i need your help. I Maked a program and i have input but i wanna makeing this program working in cmd so if i write / value = input("Your Name : ") print("Hello"+value) on cmd ?
@stroodlekitty136 жыл бұрын
I think it should work , though I have never tried it in cmd: python value = input("Your name:") print("Hello " + value)
@nicduane4 жыл бұрын
Thanks for an awesome guide! Is there a way I can export my game for those without python to play it?
@end_me_pls33634 жыл бұрын
Ok, nice. But what if i need to add like graphics and stuff? I kinda want to make a visual novel but i can't use ren'py or those kind of tools :/
@MrMan-np9jg3 жыл бұрын
Why can't you use renpy?
@prominebloxer57594 жыл бұрын
Question, is there a way to make a "home base" where you can route players?
@prinssinakki94635 жыл бұрын
but how do you turn the game into a window? pls I need help.
@cueapronn3295 жыл бұрын
I would like to know this aswell. My guess is using import tkinter for GUI control.
@Lucidity325 жыл бұрын
you can try to import the pygame module in order to create the UI for the game. you can find a free pdf textbook online called "invent your own computer games using python" where it explains how to do that, and gives you more easy games to try coding. hope that helped!
@orangutanmonkey34065 жыл бұрын
The turtle module is built into python, turtle is recommended for beginners. To make a screen using turtle just type wn = turtle.Screen ().
@WickerVarietyShow3 жыл бұрын
I feel like I did everything right but I get this in answer - input("Would you like to play a game? (yes/no) ") NameError: name 'answer' is not defined I've checked my work over multiple times
@saiydrian3 жыл бұрын
answer = input not answer - input
@thegremlinduke21904 жыл бұрын
Can I use Python coding on notepad ++ I am planning to create visual novels of Ren, Py is free but I don't have a drawing pad to create custom visual novels so any tips. Because I try to world build for books 'normal books' but I struggle with that and I want to be a writer/game developer anyways. Why not kill two birds and stone I would be a writer but with my own method. Besides I want to be a game developer as well and I stop coding about a year ago and I don't know why it was fun and interesting.
@swamikboi56685 жыл бұрын
You could have multipal levels for the game, and modes
@jaquaviusvonquayquayiii54634 жыл бұрын
Thank you
@dechlankearney40283 жыл бұрын
Is there a way to extract it, Like so I could send it to friends to play for example?
@thomasgerhardt77745 жыл бұрын
Is it possible to lay simple graphics over this?
@Scott.T4 жыл бұрын
You deserve a sub and a like😁👏
@zacdarrah52745 жыл бұрын
Is there a way to make it go back an x amount of decisions instead of having to restart the program?
@silxene42055 жыл бұрын
you could define each question, then if they gett it wrong just go back to a certain defined function
@ilacegod10535 жыл бұрын
What does the .lower() and the .strip() do?
@ChonGeeSan5 жыл бұрын
.lower() makes the string all lower case, .strip() removes whitespace characters from the beginning and the end of the string (not from the middle). All of these work only on string objects. You might want to test this first, or convert it into a string with str(). You might also be interested in .split() this will split the string into a list of strings, it will cut where ever you have a whitespace character. (Whitespace can be: space, newline, tab, ... stuff that is there, but invisible)
@ilacegod10535 жыл бұрын
@@ChonGeeSan oh nice ty. Never thought this would get answered 😂
@ChonGeeSan5 жыл бұрын
@@ilacegod1053 You've probably found the answers to your question, just wanted to give and answer for those who read it and want to know. :)