forked from breadpunk/nomic
Initial rules for a version of Nomic to be played on Github.
This commit is contained in:
parent
11cf4672f8
commit
967c74f739
|
@ -0,0 +1,27 @@
|
|||
Each rule shall be represented by a file in either the `immutable_rules/` or
|
||||
`mutable_rules/` directory of the git repository where the game is being
|
||||
recorded. No other files in the repository shall be constituted to represent a
|
||||
rule or have the force of a rule.
|
||||
|
||||
The master branch of the repository will serve as a representation of the
|
||||
current game state. No commits are allowed to be made to the master branch
|
||||
except through the mechanism of a Github Pull Request.
|
||||
|
||||
Pull Requests must perform exactly one of the following actions:
|
||||
|
||||
1. Add a file to one of the rules directory, when a rule is enacted.
|
||||
2. Remove a file from one of the rules directories when a rule is repealed.
|
||||
3. Modify an existing rule file, when an amendment is made, or repealed, or when
|
||||
an amendment to an amendment is made or repealed.
|
||||
4. Move a rule from either the immutable_rules directory or the mutable_rules
|
||||
directory to the other one, when a rule is transmuted.
|
||||
5. Create a new player file in the `players/` directory
|
||||
6. Perform some administrative task on the repository, at the discretion of the
|
||||
players. Pull Requests of this type can happen outside of the normal turn
|
||||
order, must be approved by majority vote of all players, and cannot
|
||||
materially affect the operation of the rules or the game. An example of this
|
||||
would be removing or replacing the LICENSE or README files.
|
||||
|
||||
The proper way to propose a rule-change is a Pull Request. Players vote on Pull
|
||||
Requests/proposals by putting either "+1" or "-1" as a comment on the Pull
|
||||
Request.
|
|
@ -0,0 +1,23 @@
|
|||
Any person with a Github account is eligible to play the game (become a player).
|
||||
However, a single person shall only ever constitute a single player in the game,
|
||||
regardless of the number of Github accounts he or she has.
|
||||
|
||||
To become a player in the game, a candidate player shall send a Github Pull
|
||||
Request to the master branch of the repository where the game is being recorded.
|
||||
The Pull Request shall modify the players/ directory of the repository by adding
|
||||
a single file whose name is exactly in the Name Format.
|
||||
|
||||
For the purposes of this rule, the Name Format means a string which:
|
||||
|
||||
* Starts with a zero-padded number that must contain 3 digits and be equal
|
||||
in numerical value to the number of files that were present in the
|
||||
directory before the candidate player's file was added. So if the
|
||||
candidate player's file is the 4th, the number would be 003.
|
||||
* This is followed by a hyphen, then ends with the Github username of the
|
||||
candidate player, ie audiodude.
|
||||
* For example, the file could be named `003-audiodude`.
|
||||
|
||||
Each player's file must at all times contain the numeric score of the player.
|
||||
|
||||
The Pull Request to add a player (as described in this rule) can be
|
||||
approved/merged by any existing player. Only one player's approval is required.
|
|
@ -0,0 +1,3 @@
|
|||
All active players must have commit access to the repository where the game is
|
||||
being recorded. Accordingly, no one who is not a player is allowed commit
|
||||
access to the repository.
|
|
@ -1,6 +1,11 @@
|
|||
Players shall alternate in clockwise order, taking one whole turn apiece. Turns
|
||||
may not be skipped or passed, and parts of turns may not be omitted. All players
|
||||
begin with zero points.
|
||||
The game shall consist of a series of rounds. Each round begins immediately
|
||||
after the end of the turn of the last player in the previous round. A player is
|
||||
said to be *in* a round if the player has a player file in the `players/`
|
||||
directory when the round begins. The order of turns is determined by taking the
|
||||
numeric part of the name of each file in the `players/` directory and assigning
|
||||
it to the player corresponding to the file. The player with the lowest number
|
||||
goes first and play passes to each player in increasing numeric order of his or
|
||||
her assigned number.
|
||||
|
||||
In mail and computer games, players shall alternate in alphabetical order by
|
||||
surname.
|
||||
Turns may not be skipped or passed, and parts of turns may not be omitted. All
|
||||
players begin with zero points, which should be reflected in their player files.
|
|
@ -0,0 +1,4 @@
|
|||
To the degree possible, the game should be played using Github. Conversation
|
||||
relevant to the game should happen there. Earnest attempts should be made to
|
||||
keep discussion and judging pertinent to a rule-change proposal attached to the
|
||||
Pull Request that contains the proposal.
|
|
@ -0,0 +1,2 @@
|
|||
The game shall begin once there are at least 3 players. The game does not
|
||||
necessarily end when it is won or even when there are no players.
|
Loading…
Reference in New Issue