Python Text RPG (Part 7) - Example Game + File (.py)

preview_player
Показать описание

Debugging support:

Licensing information can be found in the GitHub link; do not try to use this for a school project - it will be flagged by a plagarism checker. Good luck and have fun with it!

In 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.
Рекомендации по теме
Комментарии
Автор

Would it be possible for you to expand this series? Maybe make a video showing how to create a save state or something like that. Either way, loved the entire series there is a lot of good knowledge

thatosrsdude
Автор

Gemini... bro predicted with the signs of astrology current name of Google best ai. Wholesome tutorial.

corefrey
Автор

After following this step by step my code didn’t work. So I’m going to go back to the drawing board with my new knowledge and start from scratch, which is what I wanted to do anyway.

DJaycerOfficial
Автор

how come the file in the link is to a different game than the one your teaching us to make?

shaminocourtna
Автор

Bryan, you've kept me up until 5 am working on the game you walked us through in this series! I'm just getting into Python and I love learning this way. One issue: it keeps saying "NameError: name 'ZONENAME' is not defined." Did I miss something when you went over that part? I hope we can figure this out, dying to work on this game!

TheSaulstinks
Автор

Traceback (most recent call last):
File "C:/Users/tfstudent/Documents/PythonRPG.py", line 288, in <module>
title_screen()
File "C:/Users/tfstudent/Documents/PythonRPG.py", line 41, in title_screen
title_screen_selections()
File "C:/Users/tfstudent/Documents/PythonRPG.py", line 17, in title_screen_selections
option = input("> ")
File "<string>", line 1, in <module>
NameError: name 'play' is not defined

FireMinstrel
Автор

You're great. I have one question to ask.
I saw the source of the texting game in GitHub. How did you put the astrology picture in the exe file?
(ex. like ♓)
I'm really curious. I hope you give me an answer.

kujfncg
Автор

Can someone please help me implement an inventory and pickup system in my game I’ve looked all over the internet and cannot find anything

jordanterz
Автор

Could you make a tutorial on saving and loading data?

hanswasgaming
Автор

How would you add sound and put a background

gamegaming
Автор

Its funny that i came here with good mood and it end up with 130 errors

tomasmaslen
Автор

The full code from github when i run in Pycharm it says" 'clear' is not recognized as an internal or external command, operable program or batch file. " However if i run it in the IDLE Shell no such issue regarding clear.

Does anyone know why Pycharm seems to have a problem with 'clear', which i presume the line is: os.system('clear') in the def title_screen part.

Daz
Автор

Hello, I have a very important question! Sorry to disturb, but can you please tell me how I can get the game to open up in that console like square? When I run it in Sublime Text three, it just runs at the bottom of the app that shows whether you have errors or not.

npcgigachad
Автор

What is the easiest way to port the game to html? I'd like to put it on my website. Help appreciated.

thatplane
Автор

Not sure if you'll see this comment but i was wondering how to add symbols like the astrology signs in my code. I tried googling a lot but no luck whatsoever. Also are there other symbols I can use with my code?
Thanks for the great videos

mark
Автор

Hi, just made the whole tutorial series and got some bugs and when i watched the code here its a little bit different that the one that we made in the tutorial, its a good work but all the things that we coded before had canged a little bit.
Anyway good work with the tutorial, it could be fine if you teach us to make a program that the one that you are uploading here.

torotumbo
Автор

Thanks for posting this. I have 2 grandsons that we are converting from gamers to programmers. I am new to python and this is going to be fun.

Is it possible to insert .jpeg files in the map? If so could you do a video on that as an addendum? Much respect

michaelstovall
Автор

Hi, how would you have this game run on the command prompt in Windows 10? Btw, great series!

DragonRazor
Автор

Would there be a way to turn a command line game like this into a mobile app?

CEKAcoustic
Автор

i love the series but i still have trouble making enemies and am not too sure how

raymat
join shbcf.ru