User:Xenon dichloride/Terminal: Difference between revisions

No edit summary
Line 1: Line 1:
Terminal is a nomic taking place entirely within a filesystem.  
Terminal is a nomic taking place entirely within a filesystem.  


The following represents the initial state of the file system:  
The following represents the initial state:  
  ~/
  ~/
     boot/          # owner: su
     boot/          # owner: su
Line 10: Line 10:
         commands
         commands
         winning
         winning
        judgement
     commands/      # owner: su
     commands/      # owner: su
         mk
         mk
Line 23: Line 24:


== ~/boot/instances ==
== ~/boot/instances ==
The system must reboot to enact any changes to files within ~/boot/. Each week 3 new instances are created, with the contents of ~/boot/ directory at the end of the previous instance comprising the rules:
The system must reboot to enact any changes to files within ~/boot/. Each week 3 new instances are created, with the contents of ~/boot/ directory at the end of the previous instance comprising the new rules:


Instance I: Sunday, Monday
Instance I: Sunday, Monday
Line 30: Line 31:


Instance III: Friday, Saturday
Instance III: Friday, Saturday
The rules defined by the files within ~/boot/ must be obeyed by all players.


== ~/boot/files ==
== ~/boot/files ==
Line 37: Line 41:
A user can own files and execute commands. Every player is a user. Additionally, 'su' can be used to reference the superuser, with absolute control of the system. 'e' can reference every user.
A user can own files and execute commands. Every player is a user. Additionally, 'su' can be used to reference the superuser, with absolute control of the system. 'e' can reference every user.


== ~/boot/players/ ==
== ~/boot/players ==
A player must be a member of the IN discord server.
A player must be a member of the IN discord server.
Any person may become a player by posting a message setting forth their intent to do so in the channel ⁠#game-actions, provided they have not been a player at any point in the past seven days. A player may cease being a player by sending a message that sets forth their intent to do so in #⁠game-actions.


When a player joins, the following file is created at ~/players/ named {player name}:
When a player joins, the following file is created at ~/players/ named {player name}:
Line 45: Line 51:
  is_su = false
  is_su = false
  privileges = 2
  privileges = 2
inventory = []
If that file already exists (the player has the same id), is_player = true. If multiple players would have files of the same name, subsequent player files have an integer appended to their name to represent their place when joining.
If that file already exists (the player has the same id), is_player = true. If multiple players would have files of the same name, subsequent player files have an integer appended to their name to represent their place when joining. When a player ceases being a player, is_player = false. If a player or ex-player leaves the server, they are no longer a player and their file is removed.
 
When a player ceases being a player, is_player = false. If a player or ex-player leaves the server, they are no longer a player and their file is removed.


== ~/boot/commands ==
== ~/boot/commands ==
Line 59: Line 66:
|mk
|mk
|make
|make
|mk {location or if blank: ~/} {name} {dir/file or if blank: file} {owner or if blank: you} {if file: contents as attached .txt file or code block}
|mk {location or if blank: ~/} {name} {owner or if blank: you} {contents as attached .txt file or code block}
|Creates a file or directory at the specified location.
|Creates a file at the specified location.
|-
|mkdir
|make_directory
|mkdir {location or if blank: ~/} {name} {owner or if blank: you}
|Creates a directory at the specified location.
|-
|-
|cp
|cp
Line 106: Line 118:
A player cannot perform a command (excluding sudo) unless they are the owner of the file and directory being affected.
A player cannot perform a command (excluding sudo) unless they are the owner of the file and directory being affected.


== Winning ==
== ~/boot/winning ==
The first player to become a 'superuser' (is_su = true) wins the cycle.
The first player to become a 'superuser' (is_su = true) wins the cycle.
== ~/boot/judgement ==
There shall be a sole Judge, responsible for resolving rules disputes. An incumbent Judge can be removed with the assent of two players, but they should not be removed except for abuse of office. A person can cease being the Judge by publicly stating so.
A request for justice shall take the form of a question or statement. The proper response to a question is an answer to that question, and the proper response to a statement is the truth value of that statement.
Upon formal submission of a request for justice by a person other than themself in #request-for-justice, the Judge shall, as quickly as possible, issue a response to the request. This response shall be binding only to the extent that it reasonably directly pertains to the request, and only to the extent that it does not blatantly and obviously contradict rules text while still considering the expressed or clearly implied legislative intent.
Within 4 days of a judge issuing a ruling, a public vote of confidence on that ruling can be initiated in #request-for-justice. Votes may be cast in such a vote for a period of 2 days after initiation. Votes are to be cast by 👍 or 👎 reactions on a clearly designated poll message; if a person's vote is unclear, it is to affirm the judgement. A ruling is overturned if strictly more players vote in favor of overturning than affirming.
A ruling may be overturned by the Judge who made it within one week of being made. When a ruling is overturned in this manner, the Judge shall then issue a new ruling on the initial request, which shall be binding in the same manner as the original ruling.
An overturned ruling shall have no bearing on the interpretation of the rules or of the gamestate.
Any reputable player may become a candidate for the Judge by sending a message in the channel #judge-elections. If there are any Judge candidacies put forward during a week, the player whose message is both popular and has the most 👍 reactions from players becomes the Judge once that week ends. A Judge Candidacy message is popular if it has more 👍 than 👎 reactions from players on its initiating message. Ties are broken in favor of the player with the earliest text message during that week.