Python Text RPG (Part 6) - Easy debugging demo and GAMEPLAY!

preview_player
Показать описание
Need help debugging? I only reply to subscribers — please ensure you are subscribed ✅ and have the notification bell 🔔 ON!

Welcome to the final part of our Python Text RPG tutorial! We'll be going over simple debugging in Python - how to fix all our sloppy (or intentional? :P) mistakes, common bugs that trip up everyone, and finishing with some gameplay of our barebone RPG!

n this Python Text RPG series, programmer and software engineer Bryan Tong walks you through a beginner-friendly tutorial on building your personalized command-line-based text role playing game in Python. He walks you through concepts such as for loops, while loops, data structures, dictionaries, maps, and even tricky functions like system sleep for text effects.

Рекомендации по теме
Комментарии
Автор

I really appreciate that you kept the debugging video 'long' and importantly, REALISTIC. It really does a good job of impressing upon newer programmers, the need to be patient and really work through the results of their work in order to develop quality code.

davew
Автор

In case you are on windows and see that 'clear' isnt working, replace it with 'cls'

learntoreadjapanese
Автор

This quality is unreal! You're going to grow like crazy man, thanks for the help and I can't wait to see more!

gabe
Автор

Thanks for all these text RPG videos. I have been going through Python 3 tutorials and doing things like Code Wars for about a year. I was looking for some kind of project. One suggestion was a text game. This was really helpful to see how it could be done with object oriented code. I like the informality of the videos and the fact that you didn't start with an outline. You obviously have a good grasp on Python. Hope you have done some studying since you last made these videos.

kena
Автор

the series deserve more views and likes and this dood deserve more subs

oofiebiscuit
Автор

I'm just beginning my coding journey and found your tutorials today. I learned a ton from this series, and was able to find my errors by going back through the videos. I look forward to seeing more from you! I would love to know how to keep the game from crashing when you try to move beyond the edges of the map. LOL

blakeharp
Автор

Uh-may-zing! That's amazing, with stdout effects. Thank you, Bryan Tong. You rock!

c.michaelfisher
Автор

i learned something very valuable today. Don’t follow along! i was trying to figure out why the damn thing kept giving me errors a few vdeos ago and thought i was dumb. XD

shintori
Автор

Quite a good series, you should be proud of it. It's helping beginners such as me learn :)

benjamintchang
Автор

Hey thanks for posting this. I'm new to coding and this tutorial has helped me think through some things.
Question: how would you code an NPC to move freely about the map? I love the Hobbit text adventure from 1982. There are several NPC's (Gandalf, goblins) that roam freely and either help or hurt you along the way. Any thoughts? thanks!

axeandhammer
Автор

Somebody interested in seeing how to do battles, shops, items, puzzles, saving feature etc. ? Planning on doing a tutorial on a similar game in python... If someone would like me to do this just tell me here :)

owndbyfred
Автор

this was fun and helped with my own first project! thanks so much for making this

xcubswinx
Автор

under the map where it says
ZONENAME = ''
it tells me that it "expected an indented block"
what does this mean?

jtbSen
Автор

Hi I get a trace back error at RIGHT = ‘right’, ‘east’ just highlights it in red

timstewart
Автор

Is the source code available anywhere so we can scroll through it all to compare ours to see what we may have missed if having issues? Mine after I choose my class is prints the prompt I wrote and then the program finishes.

chrisgardner
Автор

When I entered 'move', it worked. But when I entered any direction, I got a TypeError
"TypeError: can only concatenate str (not "builtin_function_or_method") to str"

SaltMerchantGT
Автор

So I can't even start it, it gives me a syntax error on the line you showed us map building and it says my a1 is wrong. What I've written exactly were

'a1': {

And I have no idea how to fix this what so ever.

ugadugaga
Автор

Thank you is entire series! You really deserve more subs

paulmakes
Автор

Btw, your tutorial is the best ive found. please release more!

mrbutr
Автор

A small tip to improve the game:
Instead of typing
os.system('clear')
(which won't work on windows)
type:
def clear():
if sys.platform == "win32":
os.system("cls")
else:
os.system("clear")

ten-faced-carrot