Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game Logic #2

Open
tyberious-1 opened this issue Oct 30, 2018 · 3 comments
Open

Game Logic #2

tyberious-1 opened this issue Oct 30, 2018 · 3 comments
Assignees

Comments

@tyberious-1
Copy link
Collaborator

So for the game logic I think we should start by making the random number generators classes to simulate the dice mechanics. Followed by the meet or beat variables we need for the decision trees.

@tyberious-1 tyberious-1 self-assigned this Oct 30, 2018
@cbelsole
Copy link

cbelsole commented Nov 6, 2018

Also coming up with a list of actions we want the user to be able to do will inform the stats we need to have under to perform those actions. Using the 5e rules we need the 6 stats (Strength, Dexterity, Constitution, Intelligence, Wisdom, Carisma) for any action. After that, if we need the characters to swing weapons and cast spells we need to figure out the stats for weapons and what spells we want to initially support. For example:

Action:
Name: Swing weapon
Type: Standard
Main Stat: Strength
Weapon: `character.mainWeapon()`

Action:
Name: Cast spell
Type: Standard
Main Stat: Intelligence
Spell: `character.hasSpell("spell name")`

Following the line of logic from the chat. Person enters action into chat -> server receives message -> message is converted into action -> action is executed -> server sends response. It seems like a good place to start.

@tyberious-1
Copy link
Collaborator Author

I have the dice rolling mechanic finish. Will up load tonight to github.

@tyberious-1
Copy link
Collaborator Author

tyberious-1 commented Nov 6, 2018

Please use Basic Fantasy RPG for reference for rules since DND 5e material is not all open source and is usually more complicated. Other than that yes that is how this will work the dice mechanic will roll the dice then add modifiers based on the appropriate stat then the server makes an comparison. http://basicfantasy.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants