srajan-kiyotaka / Dungeons-and-Dragons

Dungeons and Dragons is a fantasy tabletop RPG where players create characters, explore dungeons, fight monsters and interact with a fantasy world. Players take on the role of elves, dwarves, humans, etc. and embark on adventures.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dungeons-and-Dragons

Dungeons and Dragons (D&D) is a text-based game that can be implemented using the Python and Java programming language. In this game, players create characters and embark on a fantasy adventure in a world filled with magic and mythical creatures.

The game is led by a Dungeon Master (DM), who sets the scene, controls the non-player characters (NPCs), creatures, and environment, and creates the story. The players take on the role of different characters such as elves, dwarves, and humans, and engage in combat, puzzle-solving, and decision-making to progress through the story.

The game can be implemented in Python and Java by creating classes for characters, NPCs, and creatures, defining their attributes and abilities and using decision trees and random number generation to simulate battles and other events. The DM can use the Python programming language to create the story, control the game flow, and respond to player actions.

By using Python and Java, the game can be made interactive, with player choices and actions affecting the outcome of the story. The game can also be made accessible through a web interface, allowing players to connect and play from anywhere in the world.

About The Game

There are 5 different modes of the game available:

  • Easy
  • Medium
  • Hard
  • Extreme
  • Game with Visuals

I also used the Python Rich library to make it more interesting!

About

Dungeons and Dragons is a fantasy tabletop RPG where players create characters, explore dungeons, fight monsters and interact with a fantasy world. Players take on the role of elves, dwarves, humans, etc. and embark on adventures.


Languages

Language:Python 79.5%Language:Java 20.5%