Advanced Python Text Adventure 2 - Enemy Class & Generator

preview_player
Показать описание
Part 2 of the Advanced text adventure series! Make sure you've completed part 1 first!

-Tags:
Computer programming
Python programming tutorial
Python programming course
Online computer programming courses
Programming for kids
Programming games for kids
Programming classes for kids
Рекомендации по теме
Комментарии
Автор

very thankful for your tutorial. I am making a text based rpg as a side project based on low fantasy gaming setting.

mortalmanji
Автор

Awesome, can't wait for more videos in this series!

fouried
Автор

Amazing video, exactly what I was looking for. Great!

zZMazeZz
Автор

hey i did everything in the vid but i got this error: Traceback (most recent call last):
File "C:\Users\User\Documents\New folder\jeff.py", line 130, in <module>
en1 = enemyGen(levelBoss)
File "C:\Users\User\Documents\New folder\jeff.py", line 103, in enemyGen
lines = files.readlines()
NameError: name 'files' is not defined

milorubio
Автор

Traceback (most recent call last):
File "/Users/admin/newRPG/gamelogichero.py", line 190, in <module>
pprint(vars(en1))
TypeError: vars() argument must have __dict__ attribute

Have this error, any ideas? Everything is made exactly like in lesson.
Using Pycharm and Python is 3.10
Thank you for your lesson.

bringmehardware
Автор

how do i put the file into the code because i tried to do the same thing you did but it says that No such file or directory: 'adjective.txt'

mo
Автор

Is there a way to change the order that the variables are returned to the user in the “def enemyGen(levelBoss)”?

I’m trying to make the name return first then the attributes of the enemy.

Jekyri
Автор

hello, a bit off-topic but does anyone know-how to find what collumn a element is in csv file

sidwalker