Skip to content

prototype for playing card game writen in golang

License

Notifications You must be signed in to change notification settings

ibrdrahim/goRemi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goRemi

Go Report Card Release Status Go GitHub license

prototype for playing card game

Cangkulan Game Rules

  1. shuffle deck
  2. put 1 card from top of deck to table
  3. give each player 7 cards
  4. start playing from player 1 (clockwise)
  5. each player pick one card with the same flag as the card on top of the table, place player card on top of the table
  6. if player doesnt have card with the same flag draw card from deck until player get the card with the same flag 6.a. if deck doesnt have any more card, draw card from the top of the table
  7. after all player throw card to the table, compare players card, player with highest number win the round
  8. continue to play from player who win from last round, player who win last round can choose any card to play first
  9. repeat 5-9 until one of players doesnt have any more card
  10. Win!!!

Preview :

https://gph.is/2xIMo6o