Skip to content

Commit

Permalink
Quote cards GET variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Kolstad authored Apr 6, 2022
1 parent 42c763e commit a5e9387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Build with cargo, starts up on port 1337 by default.
- [x] /dealerbust - returns a deck where dealer will bust
- [x] /playerbust - returns a deck where player will bust
- [x] /tie21 - Both players draw 21 - - This should cause dealer to lose, since they always draw until they have higher than player -
- [x] /custom?cards=[cards] - Use this with the shorthand expected from the candidate to put the cards in the get argument on top, so /custom?cards=SA,SK,HA,HK would give player Ace of Spades (SA) and King of Spades (SK), and dealer Ace of Hearts (HA) and King of Hearts (HK)
- [x] /custom?cards=[cards] - Use this with the shorthand expected from the candidate to put the cards in the `cards` argument on top, so /custom?cards=SA,SK,HA,HK would give player Ace of Spades (SA) and King of Spades (SK), and dealer Ace of Hearts (HA) and King of Hearts (HK)

### Backing endpoints

Expand Down

0 comments on commit a5e9387

Please sign in to comment.