summaryrefslogtreecommitdiff
path: root/src/hand.c
Commit message (Collapse)AuthorAge
* Reduced license header width.Mario Kilies2011-01-29
|
* Added license headers.Mario Kilies2011-01-29
|
* added more documentationReiner Herrmann2011-01-29
|
* added documentationReiner Herrmann2011-01-29
|
* finished implementing play_cards function for client/server; added new ↵Reiner Herrmann2011-01-25
| | | | message type next_action which indicates whether the game is finished or the server will deal new cards
* Remove chosen card from hand.Mario Kilies2011-01-25
|
* Refactored cardstack and tablestacks to card_stack_t and table_stacks_t, ↵Mario Kilies2011-01-16
| | | | that both now are defined as structs rather than arrays. Inserted lots of assert() calls to functions that take pointers as arguments.
* Simplified net_recv(). Refactored 'hand' from array definition to hand_t ↵Mario Kilies2011-01-16
| | | | struct definition.
* Implemented hand_sort(). ui_choose_card() now pre-selects the card with ↵Mario Kilies2011-01-14
lowest index, if at index 0 is no card. draw_card() now draws empty placeholder cards, to clear old screen content.