Round 10/Proposal Ideas: Difference between revisions

miraheze>CodeTriangle
miraheze>Nyhilo
Update Off to the Races draft
Line 344: Line 344:
Off to the Races is a Limited Access game that multiple players may begin participating in by announcing their intent to do so in #the-raceway.
Off to the Races is a Limited Access game that multiple players may begin participating in by announcing their intent to do so in #the-raceway.


After a player begins participating in this game, but before the Race begins, the player may select a card that would be available to draw for lots in the '''Auctions''' rule to be their Horse in this Race. The player may also choose a name for their horse. Horses have a ''suit'' and ''rank'' that matches the card selected for them, if that card has that attribute, and are not items. A player may not select a card with an identical suit and rank as another horse.
After a player begins participating in this game, but before the Race begins, that player may choose to enter a Horse in the race. To do so, the player must select a Name for their horse and two existing card properties, each selected from either the set of available card Traditions, Colors, Suits, or Ranks. A player may not enter a Horse in the race that has the same two properties as another horse.


Before the Race begins, any player participating in the game may place bets on the horses they think will win. Bets must be a positive, non-zero integer that is at most the number of chips in the player currently possesses. When a player places a bet, they lose that many chips.
When all participating players that would like to enter a Horse in the race have done so, ensure that at least 4 horses have been entered in the race. If there are fewer than 4 horses entered in the race, then the remaining number of horses are generated by drawing that many cards. These are NPC horses. NPC horses have a name that is the name of the card drawn for them, and properties equal to the Suit and Rank of the card drawn for them. If an NPC horse has identical properties to a horse already entered in the race, continue drawing cards until a valid horse is entered. Once the above criteria has been met, betting begins.


Each Horse in the Race has an Odds attribute. The Odds for a horse is given by a fraction defined as D/N, where N is the number of cards that share the horse's rank or suit and D is the total number of unique cards that could've be drawn.
When betting begins, any player participating in the game may place bets on the horses they think will win. When a player bets, they lose that many chips. A bet fails if the player does not have enough chips to place that bet. The total sum of bets on all horses is known as the prize pool. When all participating players that wish to bet have done so, 10% of the prize pool (rounded down to the nearest whole number) is removed, and the Race begins.


When all players that have horses agree for the Race to begin, then the race begins.
The Length of the Race is equal to the number of horses that have been entered in the Race. A horse wins the Race when they have a Position that is greater than the Length of the Race. The Race ends when one or more horses win the Race. When the race begins, all horses in the Race start with a Position of 0.
 
The Length of the Race is equal to either 5 or the number of participating players that have horses in the Race. A horse wins the Race when they have a Position that is greater than the Length of the Race. The Race ends when one or more horses win the Race. When the race begins, all horses in the Race start with a Position of 0.


To progress the race, perform the following steps in order, and repeat until one or more horses win the race. Any player with a horse in the race may perform any of the following steps, so long as they are performed in the right order.
To progress the race, perform the following steps in order, and repeat until one or more horses win the race. Any player with a horse in the race may perform any of the following steps, so long as they are performed in the right order.
* Draw a card using the same method in which a card is drawn for a lot
* Draw a card
''Note: standardize drawing cards ffs''
* Determine all horses in the race that share at least one property with the drawn card, and increase their Position by 1
* Determine all horses in the race that share either a suit or rank with the drawn card, and increase their Position by 1
* If this is the first time that all horses have surpassed a given position:
* If this is the first time that all horses have surpassed a given position:
** Draw a card using the same method in which a card is drawn for a lot
** Draw a card
** Determine all horses in the race that share either a suit or rank with the drawn card, and decrease their Position by 1
** Determine all horses in the race that share at least one property with the drawn card, and decrease their Position by 1
 
After the Race ends, each player that had a winning horse in the race receives a number of chips equal their initial bet multiplied by their Horse's Odds. If a player ceases participating in the game before the race ends, then they get no chips, even if their horse were to win.
 
The game ends after chips are awarded to the winning players, or after all players with horses in the race cease playing.


After the Race ends, each player that had a winning horse in the race recieves an amount of chips as winnings. If multiple horses won, the prize pool is divided evenly among the winning horses (rounded down). The winnings each horse a player bet on is equal to (P/W)*B, where P is the amount of the prize pool allocated to that horse, W is the total amount wagered on that horse by all players, and B is the amount of chips the player bet on that horse. If a horse wins that was not entered by a participating player, then the winnings for that horse are awarded to nobody.


The game ends after chips are awarded to the winning players, or after all players with horses in the race cease playing. If a player ceases participating in the game before it ends, their horse continues racing, but any winnings that player may have gotten go to nobody.