The use case I have in mind is a game of nomic. Rule 202
<https://legacy.earlham.edu/%7Epeters/writing/nomic.htm#202> states, "One
turn consists of two parts in this order: (1) proposing one rule-change and
having it voted on, and (2) throwing one die once and adding the number of
points on its face to one's score. In mail and computer games, instead of
throwing a die, players subtract 291 from the ordinal number of their
proposal and multiply the result by the fraction of favorable votes it
received, rounded to the nearest integer. (This yields a number between 0
and 10 for the first player, with the upper limit increasing by one each
turn; more points are awarded for more popular proposals.)"
Pondering that arithmetic gives me a headache, so I'd rather just come up
with a way to roll a die. Also, some versions of nomic don't even provide
for a non-die option, saying simply something like, "Any time a player
receives the Turn, this player rolls a fair die. If the value rolled is not
a computable number, nothing happens. Otherwise, the player then adds the
number rolled to their score, unless doing so would cause a player to win,
or to be Charlie Sheen; in these cases the number is instead subtracted
from their score."
On Thu, Jun 15, 2017 at 10:54 PM, Huji Lee <huji.huji(a)gmail.com> wrote:
A while back, we needed a similar functionality (a
random number generated
on the wiki upon page save that would be permanently available afterwards)
in fawiki, to use it as a last-resort tie breaker for a certain election.
We ended up using the page_random field (it is a random number between 0
and 1, which can be easily converted to an integer between 1-6 or whatever
other range desired).
The point is, I would support (re)creating an extension like this, and
hopefully enabling it on WMF wikis as well.
PS: I tried to fetch the source of that project via
Archive.org but was not
successful.[1]
[1]
https://web.archive.org/web/20160303193209/https://www.
uberbox.org/gitweb/?p=Dice.git;a=summary
On Thu, Jun 15, 2017 at 10:02 PM, Greg Rundlett (freephile) <
greg(a)freephile.com> wrote:
I assume you'll hear back from Dan Shiovitz,
admin for
inky.org. But If
you need more contact info, I hope you saw this:
https://inky.org/resume.html
btw, I don't understand the utility of this extension. Is it useful for
game wikis?
~ Greg
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l