King Of Roses is a card guessing game. pick a set of from the selection list, for example: A-K-J-Q means you predict the next card will be A or K or J or Qcards are selected from a set of 4 decks (208 cards) and shuffled each game.
King Of Roses uses provaby fair cryptographic system, each card selection is cryptographically fair and can be verified by the player.
A pair of Server Seed and Client Seed is used to calculate a number. Knowing the Server Seed, the Client Seed , Nonce and bet direction, it's possible to calculate the bet result.
string to hash = Server Seed + Client Seed + Nonce + card selection
we calculate a sha512 hash of the string.
We take the first 2 characters at a time until we find that the decimal number of these 2 chars is less than 208, if it does this is the selected card id.