back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/server
Commit message (Collapse)AuthorAge
* Final version v2.0scratko2024-08-30
| | | | | | | Added windows client. SIGPIPE signal was being sent to the server when the client was disconnected. Now there is handling of this signal. Added a delay when displaying some informational messages.
* Final version v1.0scratko2024-08-18
| | | | | | | | Fixed stack clearing. Added check for NULL before clearing game parameters. Added refactoring of define_phase_after_attack(). Analyzing game results is organized into several functions. Fixed card limit detection on tossing (line 366 in server_data_processing.c).
* Global fixes v4.0scratko2024-08-18
| | | | | | | | | Removed unnecessary comments. Added resource cleanup for client and server. Changed queue display. Added player indicator. It's possible to quit the game while typing or waiting for a connection. Fixed a bug with determining the limit of card tossing.
* Global fixes v3.0scratko2024-08-17
| | | | | | Fixed bug when entering cards incorrectly. Added recognition of disconnection from the server. Added welcome screen and update screen.
* Global fixes v2.0scratko2024-08-16
| | | | | | | | Added spectator mode. Added screen of game result. Added definition of durak. If not all players can replenish their decks, they take cards one at a time in turn.
* Global fixes v1.0scratko2024-08-14
| | | | | | | | | | | | Defense hint now only takes into account unbeaten cards. The client accounts for sticky data in one packet via TCP. Changed delimiter when sending data related to cards on the table and the queue (from '0' to '='). Accepting cards from a client (verification_client_input.c) is heavily patched. Cards are taken from the stack at the hint's prompt. Added pop_stack(). The trump card is retrieved from the end of the array. Changed the check of the defender's ability to beat all cards.
* Prefinal versionscratko2024-08-10
Added client. Moved files to directories.