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

proposal: global vars #43

Open
mburns opened this issue Jul 9, 2017 · 0 comments
Open

proposal: global vars #43

mburns opened this issue Jul 9, 2017 · 0 comments

Comments

@mburns
Copy link
Owner

mburns commented Jul 9, 2017

Call To Action

We need a mechanism to declare global variables that can be referred to by other rules without duplicating definitions.

We might also have uniform names for referring to the metadata.

Globals:

  • NUM_PLAYERS - number of active players (rule309)
  • NUM_ELIGIBLE number eligible voters

Per-vote:

  • NUM_QUORUM number of votes required for quorum to be reached (rule308)
  • NUM_CAST number of votes cast (rule308)
  • NUM_AGAINST number negative votes
  • NUM_FOR number positive votes (rule308)
  • AUTHOR user that submitted the rule-change proposal
@mburns mburns changed the title proposal: defined terms, global vars proposal: global vars Jul 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant