Would any beginners like to learn python by helping me with a small text-based rpg in python?

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Puts Debuggerer

    Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.

  • You'll get much better collaboration by setting up a repository on Github. No one uses Pastebin for code contributions.

  • Adventure-Colussus

    A text-based adventure/rpg game

  • Hi guys, as some of you have said i could use GitHub to share my program. The link is here: Slow-Scallion4183/Adventure-Colussus: A text-based adventure/rpg game (github.com)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • pydantic

    Data validation using Python type hints

  • As a tip, maybe consider saving your ASCII art in a file instead of in a function, and then create a single function that returns the ASCII art for a named file. I also recommend using JSON instead of pickle and using Pydantic to validate the data and convert it to JSON while still remaining Object-Oriented. Another thing is your player. Instead of using a dictionary, you should use a class that has functions such as saving the player, loading the player from a save, etc. Same for NPC. Also, take a look at Rich for showing information in color, and nice formatting. These are just some things that I wish someone had told me early on (I'm a 15 y.o btw) and if you need any clarification, you can just reply to this with a question.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts