Skip to content
Jorge Klemm edited this page Apr 26, 2015 · 18 revisions

py-dnd wiki

About the game Dungeon and Dragons 4.0

Who don't know or have heard about Dungeon and Dragons? If you don't, read about:

Roadmap

On the beginning, the idea is implement the Core Rules and Basics Mechanics of the game.

The idea behind this project is study and practice TDD - Test Driven Development.

Beyond TDD, to maintain a good organization e loose coupling, it will be used The Clean Architecture written by Uncle Bob.

The sequence of implementation:

Use Cases

  1. Implement the Game Dice
  2. Implement Character Logic (Races, Classes, Skills, Feats, etc..)
  3. Implement Simple Monster
  4. Implement Battle Logic between a Character and a Monster
  5. Go on...

Game Dice

The game uses polyhedral dice with different numbers of sides.

The different dice are referred to by the letter d followed by the number of sides: d4, d6, d8, d10, d12, and d20.

When you need to roll dice, the rules tell you how many dice to roll, what size they are, and what modifiers to add.

For example, 3d8 + 5 means you roll three eight-sided dice and add 5 to the total.

D&D 4.0 - Player's Handbook - Chapter 1 - Page 8

The idea is implement a way to simulate the roll of this polyhedral dices, using the D&D formula.

Using the book example, a 3d8 + 5 needs to result between 8 and 29.

Character Creation

On D&D games, the character creation is a complex part, it has a heavy quantity of details to choose. Some details need attention because are immutable while playing the game.

A small analysis made by me:

Character

  • Race: offers several racial advantages to your character.

  • Class: represents your training or profession, and it is the most important part of your character’s capabilities.

  • Ability Scores: describe the fundamental strengths of your body and mind. Your race adjusts the scores you generate, and different classes rely on different ability scores.

  • Skills: measure your ability to perform tasks such as jumping across chasms, hiding from observers, and identifying monsters.

  • Feats: natural advantages or special training you possess.

  • Powers: each character class offers a different selection of powers to choose from.

  • Equipment: Pick your character’s armor, weapons, implements, and basic adventuring gear. At higher levels, you’ll be able to find and create magic items.

  • Calculate: Calculate your hit points, Armor Class and other defenses, initiative, attack bonuses, damage bonuses, and skill check bonuses. In theory, this part will be automatic after the game is done :)

Ability Scores

  • Strength: measures your character’s physical power. It’s important for most characters who fight hand-to-hand.

  • Constitution: represents your character’s health, stamina, and vital force. All characters benefit from a high Constitution score.

  • Dexterity: measures hand-eye coordination, agility, reflexes, and balance.

  • Intelligence: describes how well your character learns and reasons.

  • Wisdom: measures your common sense, perception, self-discipline, and empathy. Use to notice details, sense danger, and get a read on other people.

  • Charisma: measures your force of personality, persuasiveness, and leadership.

Races

Race give ability score bonus.

  • Deva: +2 Intelligence, +2 Wisdom

  • Dragonborn: +2 Strength, +2 Charisma

  • Dwarf: +2 Constitution, +2 Wisdom

  • Eladrin: +2 Dexterity, +2 Intelligence

  • Elf: +2 Dexterity, +2 Wisdom

  • Githzerai: +2 Wisdom, +2 Dexterity or Intelligence

  • Gnome: +2 Intelligence, +2 Charisma

  • Goliath: +2 Strength, +2 Constitution

  • Half-Elf: +2 Constitution, +2 Charisma

  • Halfling: +2 Dexterity, +2 Charisma

  • Half-Orc: +2 Strength, +2 Dexterity

  • Human: +2 to one ability score of your choice

  • Minotaur: +2 Strength, +2 Constitution or Wisdom

  • Shardmind: +2 Intelligence, +2 Wisdom or Charisma

  • Shifter: +2 Strength, +2 Wisdom

  • Tiefling: +2 Intelligence, +2 Charisma

  • Wilden: +2 Wisdom, +2 Constitution or Dexterity

Classes

Possible classes are:

  • Ardent, Avenger, Barbarian, Bard, Battlemind, Cleric, Druid, Fighter, Invoker, Monk, Paladin, Psion, Ranger, Rogue, Runepriest, Seeker, Shaman, Sorcerer, Warden, Warlock, Warlord, Wizard