Commit Graph
29 Commits
Author SHA1 Message Date
karolina cc7afb5477 scoring implemented; clients calculate scores individually and display ranks per player 2025-07-16 11:15:05 +02:00
karolina 72b68dd6f0 clients now keep track of expected and actual bets for every client 2025-07-16 10:20:45 +02:00
karolina 4dcbc6787b player names are now displayed above player hands 2025-07-16 09:45:44 +02:00
karolina e0cea82394 game now correctly rotates through plays and goes to the next rounds when all cards have been played 2025-07-15 19:38:27 +02:00
karolina 231e861416 added winning determination algorithm (not entirely working yet) 2025-07-15 14:42:06 +02:00
karolina ecfe5955b7 more backend improvements; clients are (should be) able to submit cards and start new rounds; determining winners and scoring points is unimplemented 2025-07-15 12:11:50 +02:00
karolina 2f3f4dbc14 added bet mechanism (currently without checks for invalid bets) 2025-07-15 11:51:02 +02:00
karolina 3a22a4e95d cards are now distributed and displayed among all clients 2025-07-15 11:31:01 +02:00
karolina e7b53601c0 fixed host client not receiving their id 2025-07-15 11:05:19 +02:00
karolina 59ff9a429a added commands for requesting and receiving bets and starting rounds 2025-07-09 16:48:45 +02:00
karolina 898c0d21ea started adding player hand creation 2025-07-08 17:40:13 +02:00
karolina 08773d963c server: added more gameplay commands and determine playing order on start_game command 2025-07-08 10:42:34 +02:00
karolina 3122df893a host client can now start round and send out shuffled cards, server can spread them to all connected clients 2025-07-07 22:40:46 +02:00
karolina 4ac3fbd962 client now displays currently connected players by name 2025-07-07 22:11:02 +02:00
karolina f51444874a client & server: added error handling for lobby connection issues 2025-07-07 10:57:39 +02:00
karolina a2bab58d3f server: sending connected client names instead of count on every (dis)connect 2025-07-07 09:58:34 +02:00
karolina 63869dc530 server now sends, client receives lobby player count 2025-07-06 20:08:38 +02:00
karolina 05e5acd503 server: added SSL context for running on remote server 2025-07-06 19:49:08 +02:00
karolina 958be7e1ce client & server: changed from TCP stream to WebSocket implementations 2025-07-04 19:59:46 +02:00
karolina af763c89b3 server: fixed bug that caused host client to disconnect when leaving lobby if they were the only connected client in the lobby 2025-07-04 14:24:28 +02:00
karolina b468a391f5 client: now handles disconnects properly and notifies the user of server connect and disconnect 2025-07-04 12:22:48 +02:00
karolina 2aa6d710cf client: now displays when clients leave the lobby 2025-07-04 11:41:57 +02:00
karolina 4b4285ca99 chat messages are now sent and relayed. server: handling host client leaving correctly 2025-07-04 11:29:25 +02:00
karolina f4a7fb722e server: moved code generation from client to server to avoid code collision 2025-07-04 10:57:24 +02:00
karolina 68a152af42 server: edited lobby leaving logic slightly 2025-07-02 22:16:52 +02:00
karolina f084a599b7 client: added ConnectionStatus to invoke UI changes when connection status changes 2025-07-02 21:58:19 +02:00
karolina d128f39e6a server: added broadcast for players entering the lobby. client: added text output for connection actions 2025-06-30 22:07:43 +02:00
karolina 27979ffe9f Switched from UDP to TCP-based connection; implemented creating, joining, leaving lobbies 2025-06-29 20:37:43 +02:00
karolina 25f4abc5eb removed redundant files 2025-06-28 15:35:45 +02:00