Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Merging python Dungeon Game and Hack 'n Slash

I'm new at programming and I loved the python course with Kenneth! I didn't think making a game would be very useful, but I was wrong. It was a really fun challenge and I decided to take it a step further. In the Dungeon Game, the player has to reach the exit without encountering the monster. If the player met with the monster, the game ended. In Hack 'n Slash, the player just fought monsters one after the other. In my new game, the player walks around the dungeon, but must actually fight any monsters encountered. I also modified the monsters' and player's stats a little bit. Dragons are very difficult to beat, but I added a simple level up mechanism.

Like I said, I'm very new to programming and this is my first big project I've finished by myself. The game works fine, but I'm concerned about repetition, formatting, readability, and anything else that could be improved. I also didn't know how to change the text colors, so I just found something on the Internet and tried it. I don't know if it's the best way to do it. I would really appreciate any feedback.

The main file that launches the game is game.py https://github.com/garrekds/dungeon_game

Thanks!

1 Answer

Cool. I don't think that you are the first person who has thought about combining the two games. But you may be the first that has actually done it. Well done.

I downloaded a zip of the game which I will look at a little bit later.

Awesome. Thanks for taking a look at it!

By the way;; You may be interested in looking at the direction I took with the Dungon game.

https://github.com/greeder59/Dungon

By the way: If you like programming games: Look here for a list of vintage games written in BASIC. http://www.vintage-basic.net/games.html Use it for inspiration and practice your Python skills by rewriting the games in Python.

Thanks for sharing! I like your game levels and the key and sword in different rooms.