User:Xenon dichloride/Terminal: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
Terminal is a nomic taking place entirely within a filesystem. Actions are submitted as terminal commands.
Terminal is a nomic taking place entirely within a filesystem. Actions are submitted as terminal commands.


A line of code consists of a single command. A line without  
A line of code consists of a single command. A line without a


The following represents the initial state of the file system:
~/
    players/
    commands/
    rules.txt
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 51: Line 56:
A player must be a member of the IN discord server.
A player must be a member of the IN discord server.


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}:
  id: {discord id}
  id = {discord id}
  is_player = true
  is_player = true
If that file already exists, is_player = true. 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.
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.