Closed farid002 closed 6 months ago
@farid002 məncə funksiyanın adı take_three_cards olmalıdı. Çünkü talon dediyin şey 5 kartdan ibarətdi. Və bu funksiya talonun hamısını götürmür.
@teymurov27 there are 24 cards in the game in total. 7 are dealt per each member, so always 3 cards are remaining and it is called “talon”. Please note that we only write our game for 3 players
ahh, I thought talon was 5.
@farid002 what is the difference between current_round (already exists in Game model) field and current_round_id field.
@teymurov27 you may skip current_round_id field for now. It is not a must but nice to have. current_round is the number/count of the current (the last) round in the game (i.e. 7), however current_round_id is really a Foreign key on Game table to point to the current (the last) round row on Round table (i.e. 77873824bd3874dec487 - a uuid string)
This branch is linked to issue Implement take_talon function.
I think I've fixed everything. Checkout ASAP.
This branch is linked to issue Implement take_talon function.
Function already exist with name: take_three_cards. Please rename it to take_talon. And implement the logic: Args.: player_id, game_id Returns: success or failure message
REMARKS: