We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Just throwing some ideas out there...
generateResult().wins(2).as(‘Priest').against(‘Warlock’).and(‘Druid);
generateResult( [ doc(for(‘rogue’), true, against(‘shaman’), 1453420291617, 10)] )
class(‘druid’).beats().class(’Shaman’), class(‘rogue’).looses().class(‘warlock’), class(‘rogue’).beats().class(‘warlock’), class(‘rogue’).beats().class(‘mage’), class(‘rogue’).looses().class(‘rogue’), class(‘priest’).beats().class(’Shaman’),
for = (className) => { return { name: randomName(), id: 1, class: className } } against = (className) => { return { name: randomName(), id: 2, class: className } }, /** for: Me against: my opponent started: unix time stamp lasted: time in minutes the match lasted */ doc = (for, outcome, against, started, lasted) => { startTime: toDate(started) endTime: toDate(started).add(lasted) for: for against: against log: [] hasWon: outcome _id: toString(started) _rev: ‘some pouch db value' }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Just throwing some ideas out there...
The text was updated successfully, but these errors were encountered: