Text Based Dungeon Game in Python | Coding Tutorial

preview_player
Показать описание
I walk you through making your own text-based game in Python.
This is a simple project using a dictionary and a few loops.

This project is similar to the SNHU IT-140 project. Do not copy my work as it will be detected by TurnItIn and you will get a zero.

View the Repository:

Use LucidChart Free:

Join our Discord for 24/7 coding support:

50% off Codecademy Pro, Plus, or Pro Student annual plan

Chapters
0:00 - Intro
0:13 - Designing Map
0:34 - Functions
1:24 - Coding Map
2:31 - Tracking Variables
3:16 - Gameplay Loop
4:08 - Item Indicator
5:13 - Boss Encounter
6:17 - User Input
7:35 - Moving Between Rooms
8:11 - Picking Up Items
9:02 - Exit Game
9:14 - Input Validation
9:26 - Demo
10:31 - Additional Features
11:01 - Outro

Subscribe to my Channel:

#python #coding #programming #codingtutorial #technology #tech #engineering
Рекомендации по теме
Комментарии
Автор

this guy that me in a minute more than other tutorials did in 10 min. great job

vebtrex
Автор

10:49 Ironically, for a blind person using a screen reading program, if there are no images, it is better. That's why I like games such as Colossal Cave Adventure, because they are text-only games! Anyway, great video!

By the way, I use VS Code too, especially because they are putting accessibility features like sound warnings if there is something wrong with the code and a screen reader is detected!

supermalavox
Автор

Literally saved my life! My game works! *crying in happy tears*

scott
Автор

Thank you so much! I had a lot of my code written, but there were some parts I had to add to it that i had no idea how to. Your guidance really helped me out!

Tghouston
Автор

You have helped me so much, I’ve been struggling to understand the proper syntax’s the first YouTube video I’ve seen to be helpful with coding, now I finally know the use for flowcharts lol

bobibibobibjhhlk
Автор

Defo one of the best tutorials ever. I think you have a gift in explaining briefly and clearly. Looking forward to the next video.

beniaminocogoi
Автор

Nice! A directed graph is a good first step! The edges could represent lockable doors with traps... whose state depends on the user submitting the correct Command objects in the right sequence, or even randomly.

brookestephen
Автор

Thank You Thank You Thank You. This is a great video tutorial that actually explains the process of programming this type of game. The other videos I have watched were so confusing. I am not a computer person but am required to take this python course for my degree. This course has been very difficult for me and have had to look up most of the answers. This video is going to help guide me while programming my own version of this game. Again, Thank You.

joanneyates
Автор

Awesome, I have a final project with a game so definitely taking your video as a base! Great explanation. Thanks so much

trinitymilagro
Автор

Noice, this is literally what I have to make for my Python class and I was stumped lol.

tinkachu
Автор

Thanks man. Super Informative video. Helped me a ton

JoshCeschiniPB
Автор

Thank you so much! This video helped me a lot!

beksbad
Автор

walkthrough, bro this was a sprint lmao. I had to regularly pause, and I was just using this as a guide to make sure I didn't miss anything after typing my code out. I've never seen anyone type as fast as you lmao.

icewater
Автор

Just a "quality of life" improvement here: If you make items that have more than 1 word i.e. "Fire Sword", then the user_action variable should also utilize .title() so that users don't have to manually match the case of the item when entering the "Get" action. Took me a while to figure out the bug, but this was the answer.

dt_does
Автор

Hey man you really helped me with my project, thanks! Also can I ask where else did you learn python or coding in general? you seem pretty advanced and comfortable with the language

Pintobean-vxez
Автор

The movement is tripping me up. I type in Go and a direction, and it says you can't go that way. The program says the exception clause is too broad.

chrisrivers
Автор

Tried to add a list of items so players have a choice of what they take but now the items can’t be found, and they can’t leave the first room.

chrisracer
Автор

What I like about this, is you didn't use any classes. I was guilty for a long time before I learned C, which is a paradigm shifter on many levels. Now I find it so frustrating to see people over use & abuse them in object oriented languages. They should be avoided at all costs, unless you're overriding someone else's bad design or modifying functionality of a built-in object.

ruthlessadmin
Автор

bro that s alot im new and i wanted to make a dungen crawler for my brother

UEtutorial
Автор

This video is absolutely fantastic. The code works incredibly well, but at 8:55 I keep getting PEP8 violations for the bare excepts in the try blocks and I’m stuck.
Is anyone else seeing this?

usarmyvetid
welcome to shbcf.ru