Inspiration

What it does

Makes a dnd campaign for the user to play through. The player (user) is able to choose between three classes, respective weapons within that class, and rolls for character traits. These six character traits are then attributed by the player (user) to whatever statistic they desire. As they make choices within the game, the experience the player undergoes changes as well, and, as they defeat more monsters, they gain experience accordingly. If the player levels up, they fight a mixture of easier and harder monsters, the latter of which do more damage and have more health, on average. They also have better armor the higher level they are and do more damage, just like the monsters they face. The game only ends in victory if the player defeats all the monsters and lives. If they die at any point, they must restart completely.

How we built it

Using python in replit.

Challenges we ran into

We had repeated instances of the same code, which led to chunky code that was hard to read. We also ran into issues with the user entering information which we don't want them to.

Accomplishments that we're proud of

The above issues were both solved in our code and definitely made it run much smoother than without them. Especially the general framework method for the repeated instances of asking the user for something where we only wanted them to input a certain option out of the options given. We are also very proud of the print_slow method which prints the text out slower, making it more video game-like.

What we learned

How to use methods and inheritance, create concise framework methods for repeated instances of code to avoid clutter, use different formats to improve easability of writing and reading the code, and importing different modules all in python.

What's next for Dnd RogueLike

Dnd RogueLike 2.0

Built With

Share this project:

Updates