Learning Python (Part 3): Decisions and loops
Comparisons, conditions, and loops, plus a game loop that lets the dungeon respond to commands and change its state during play.
ls -lt posts/ | grep #tutorial
Comparisons, conditions, and loops, plus a game loop that lets the dungeon respond to commands and change its state during play.
Data types, variables, arithmetic, and f-strings: our adventurer gets hit points and gold, and the dungeon gets a proper status line.
Install Python, try out the interactive REPL, and run your very first script: the start of our little text adventure.