opfvs.blogg.se

Okey game source code
Okey game source code











okey game source code

To win a round, you can collect sets and/or runs, or 7 pairs, and reveal your hand. At this time, the player who holds the tile of the same number and color with the revealed tile can show the tile, so that the other players lose 1 point immediately. The remaining tiles will be placed face-down on the table as the stock piles, with the revealed tile used for determining the wild tile placed face-up on the top of a pile. The players will be able to see the faces of their own tiles but not those of the others. The player to the right of the dealer will receive 15 tiles, while each of the other players will receive 14 tiles. After the wild tile is set, the tiles will be distributed to the players. The wild tile will be the tile of the same color and an immediately greater number than the revealed tile, for example, if the revealed tile is a red 5, red 6 will become the wild tile, while the joker tiles will be used to represent red 6 in the round. The dealer will then reveal the remaining tile, and this tile will determine the wild tile in the round, which can be used as any tile in a winning pattern. The tiles will be randomly stacked into 21 piles, with each pile consists of 5 face-down tiles, and the remaining tile will be left face-down.

okey game source code

The player to the right of the current dealer will take the position in the next round. When the first round starts, a player will be randomly chosen as the dealer. The number tiles are divided into 4 different color sets, each color set contains 2 groups of number tiles ranging from 1 to 13. 104 number tiles and 2 joker tiles will be used in the game, making a total of 106 tiles. Showcase brilliant strategies to defeat your opponents in this intriguing Turkish game! Your goal is to form winning patterns so as to force the other players to lose points.













Okey game source code