Build your own Python text RPG (Part 2)

preview_player
Показать описание
Build a Python text RPG (Part 2)

This is my first video series on Python.

In this video, we wrote the battle loop, which is how turn-based fighting can work.

Please leave any questions or feedback, I'm happy to hear!

Next's week video will be similar length, with another assortment of topics covered.

Topics we briefly cover by example:

While loops (A battle loop)
Gaining XP and Gold after battle
Arithmetic, -=, +=
Modifying member variables in classes using self, or using instantiated references
checking state and returning a character's "alive" status
More object parameters
Game structure
f-strings (Reminder, Python 3.6+)
More Functions
Рекомендации по теме
Комментарии
Автор

Cool idea for a series! A text-based RPG was my first from-scratch coding project, although it was far less sophisticated. Two small tips maybe: 1) Try zooming in on the code or increase font-size for future videos, it is somewhat hard to read if you're not watching full-screen (or on anything less than highest quality), 2) give the individual videos in the series more descriptive titles.

OckhamsChainsaw
visit shbcf.ru