Winner = (Sum of all cards) mod (Total players)

Winner = (2+1+3+3) mod (4) = 1

A tabletop card game based on the RO-KA algorithm


Number of players: 2 to 10
Bank — the total amount of equal bets placed by the players for one round.
One player is designated as the Dealer, from whom the Bank's movement starts and proceeds clockwise.
Cards range from Ace (1) to 10, depending on the number of players. Suits are irrelevant, only card values matter.
Each player receives a set of cards corresponding to the total number of players.
The game consists of several rounds, with the Dealer role passing clockwise each round.
In each round, every player selects one any card from their hand and places it face down on the table.
Once all players have made their selections, the cards are revealed. The sum of all card values determines how many steps the Bank will move clockwise, starting from the Dealer.
The player on whom the Bank stops becomes the winner of the round.
In the next round, players place new equal bets, the Dealer shifts to the next player, and the process repeats.