DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,274 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
fungamer2-2
fungamer2-2

Posted on

My Text-based Commandline Minecraft RPG (written in Python)

I've been working on a text-based Minecraft RPG written in Python
It is currently a work in progress
The Github Repo is at https://github.com/fungamer2-2/Text-Minecraft-RPG-WIP

About this project

You can explore, craft items, you can also find mobs. You can mine to get the materials to craft better items

Exploring

When exploring, there is a 60% chance you will find grass, dirt, or wood. Wood is the only one of these that has a use at the moment, but I will add a use for them later on
There is also a chance that you will encounter a mob while exploring.

Different types of mobs

Passive mobs: will not attack you, will flee whenever you attack
Neutral mobs: will only attack if you attack them
Hostile mobs: 50% chance to immediately attack when encountered

Day/Night Cycle

There is a day/night cycle in this game like in the actual Minecraft game. During the day, mobs will be mostly passive/neutral. The chance of finding a mob at night is greatly increased at night. Most night mobs are hostile.

Crafting

You can craft items if you have the proper materials. Only the items which you have the components to craft will be shown. Just type in the name of the item to craft and it will be crafted, using the materials required.

Mining

You can only mine if you have a pickaxe and it is the current took you are holding. There is also a chance you will encounter a mob while mining.

Smelting

If you have a furnace in your inventory, you can smelt items, much like you can in Minecraft. Just select the item and a fuel source and wait.

Conclusion

This game is still a work in progress. I would like to hear your feedback and suggestions!

Top comments (0)

Let's Get Hacking

Join the DEV x MongoDB Atlas Hackathon 2022 and use your ingenuity and creativity to build an application using MongoDB's cloud based developer data platform, MongoDB Atlas.

β†’ Join the Hackathon