Round 10/Ruleset: Difference between revisions

miraheze>Kubby
Auction clarification (unfortunately not a reform act) passes, Auction deregistration clarification (unfortunately not a reform act) passes.
miraheze>CodeTriangle
trung proposal
Line 1: Line 1:
== Info ==
== Info ==
=== General ===
=== General ===
All times mentioned in this ruleset are in UTC. Days start at 00:00 UTC. Weeks start on Sunday 00:00 UTC.
All times mentioned in this ruleset are in UTC. Days start at 00:00 UTC. Weeks start on Sunday 00:00 UTC.
Line 11: Line 12:
Each week is divided into two phases:  
Each week is divided into two phases:  


The Auction Phase: Sunday, Monday, Tuesday, and Wednesday
The Auction Phase: Monday, Tuesday, and Wednesday


The Bartering Phase: Thursday, Friday, and Saturday
The Bartering Phase: Thursday, Friday, Saturday, and Sunday


At the beginning of each Auction Phase, each player gains 100 points.
At the beginning of each Auction Phase, each player gains 100 points.


== Auctions ==
== Auctions ==
=== Bidding ===
=== Bidding ===
Players may start a bid on a lot or increase one of their existing bids by sending a message in #auctions. Upon starting a bid or increasing a bid, the player loses a number of points equal to the amount placed or increased, respectively. If the player does not have that number of points, or the bid is not a natural number greater than 0, the action fails. When a bidder ceases to be a player, all of their bids on active auctions are withdrawn and cease to be bids, and the bidder ceases to be a bidder.


Priority on a lot is a total order over bidders on that lot, and is defined as follows:
During an Auction Phase, as a secret action in #auctions with default maturation and revelation dates, players can place bids on one or more distinct active lots. When a bidder ceases to be a player, all of their bids on active auctions are withdrawn and cease to be bids, and the bidder ceases to be a bidder.
* If two bidders have different bids, the one with the higher bid has priority over the other.
 
* Otherwise, the bidder whose most recent start or increase of their bid was least recent has higher priority over the other.
In addition to normal failure conditions for secret actions, bids fail if any of the following occur:
*If, when a player reveals their bids, one or more of those bids are not a natural number greater than zero if more than one of them are on a single lot, then all such bids fail immediately.
*If, at the revelation date for the bidding the set of a player's bids that would otherwise succeed add up to a number more than how many points they have, then all of their bids fail.


At the end of the Auction Phase, the auction concludes, and for each lot the following occur in the order listed:
Priority on a lot is a total order over bidders on that lot, considering only bids that are successful as of the revelation date, and is defined as follows:
* The lot is transferred to the possession of the sole bidder with the highest priority on that lot (if one exists).
*If two bidders have different bids, the one with the higher bid has priority over the other.
* Each other bidder receives a number of points equal to their bid on that lot.
*Otherwise, the bidder whose most recent start or increase of their bid was least recent has higher priority over the other.
 
At the revelation date of each week's bids, after Prizes are given out for Hands and after it is decided which bids were successful, the auction concludes, and for each lot the following occur in the order listed:
*The lot is transferred to the possession of the sole bidder with the highest priority on that lot (if one exists).
*The player who received that lot loses the amount of points they bid.


=== Lots ===
=== Lots ===
Line 60: Line 67:
|}
|}


=== Presenting a Hand ===
=== Submitting a Hand ===
During each Bartering Phase, excluding the last 24 hours, each player may once Present a Hand, specifying one set of five cards in their possession, by stating so in #game-actions. The cards are removed from the player's possession.
 
During an Auction Phase, as a secret action with default channel, maturation date and revelation date, players can Submit a Hand, specifying five distinct cards in their possession.
 
If, when a player reveals the Hand they submitted, they do not possess all the cards contained inside, then that Hand submission fails.


=== Prizes ===
=== Prizes ===
24 hours before the end of the Bartering Phase, all players who have Presented a Hand receive a placement according to the contents of their Presented Hands. Better hands get a lower rank number. The players then gain the prize(s) corresponding to their placement.  
 
At the revelation date of each week's Hand submissions, before it is decided which bids were successful and lots are given out for auctions, but after it is decided which Hand submissions were successful, all players who have successfully Submitted a Hand in the week prior receive a placement according to the contents of their most recently Submitted Hands. Better hands get a lower rank number. Then:
*The cards the players presented are destroyed.
*The players then gain the prize(s) corresponding to their placement.


{| class="wikitable"
{| class="wikitable"
Line 169: Line 182:


Any player may become a candidate for the next Judge by sending a text message in the channel #judge-elections. Immediately after the week ends, the player whose text message made during the previous week has the most :+1: reactions becomes the Judge for one week. Ties are broken in favour of the player with the earliest text message.
Any player may become a candidate for the next Judge by sending a text message in the channel #judge-elections. Immediately after the week ends, the player whose text message made during the previous week has the most :+1: reactions becomes the Judge for one week. Ties are broken in favour of the player with the earliest text message.
== Secret Information ==
When the rules authorize a set of players to "secretly" take an action (a "secret action") then those players can only take that action by posting in the relevant channel the type of game action to be performed, along with an SHA-256 hash containing a clear and unambiguous declaration of the action that the player is performing. It is strongly recommended to make the text to hash unpredictable, for instance by adding unrelated text to the end of the declaration. Since hashes are irreversible it is also strongly recommended to store the exact text that you hashed so that you can post it later.
Secret actions have the following properties, subject to modification by the rule that defines the secret action:
*a channel in which the action must be performed (by default #game-actions).
*a maturation date (by default the beginning of the next rules-defined phase after the action's performance).
*a revelation date (by default three days after the maturation date).
During the period after the maturation date but before the revelation date of a secret action, the player who took that action must post the unhashed text corresponding to what they posted when taking the action (including the actions and the salt), and other players should verify that the unhashed text correctly matches up to the hashed text.
A secret action fails immediately after any of the following occur:
*If, at the revelation date, the player has not revealed the unhashed text, that action fails.
*If it is before the maturation date and the message in which the hashed text was sent was edited, that action fails.
*The player posts an attempt to perform a secret action and they already have an attempt which has not failed at the time of posting the new attempt, then the former attempt fails.
Players may generate SHA-256 hashes by any method that results in a hash verifiable to be computed from the original message by other players. for convenience, here are a few unaffiliated websites that can be used to generate SHA-256 hashes:
*https://emn178.github.io/online-tools/sha256.html
*https://passwordsgenerator.net/sha256-hash-generator/
*https://xorbin.com/tools/sha256-hash-calculator