Commit Graph
47 Commits
Author SHA1 Message Date
karolina 47ec5b5ac0 bet input now only permits numbers 2025-07-18 11:28:03 +02:00
karolina f7127b94d5 played cards get removed from hands and (wrongly) added to the stack 2025-07-16 11:59:52 +02:00
karolina f39c9e46d9 added cardstack to place played cards at the centre of the table 2025-07-16 11:50:33 +02:00
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 92ea8807c8 adjusted camera angle 2025-07-16 09:35:32 +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 999d8b24d2 adjusted table camera angle and added positions for other player hands 2025-07-15 10:01:27 +02:00
karolina 7bbba627f7 added table, new card back texture; adjusted camera angle, card scale 2025-07-15 09:51:22 +02:00
karolina 261e958a98 added add_cards(), which now sorts cards before drawing them to the hand 2025-07-15 09:09:04 +02:00
karolina 8dde6a813f added test stickman card deck textures 2025-07-14 22:00:59 +02:00
karolina 59ff9a429a added commands for requesting and receiving bets and starting rounds 2025-07-09 16:48:45 +02:00
karolina cf7a53f111 adjusted card speed 2025-07-08 22:36:36 +02:00
karolina 898c0d21ea started adding player hand creation 2025-07-08 17:40:13 +02:00
karolina e0693725ea added PlayCardButton; influences card selection 2025-07-08 17:07:32 +02:00
karolina 167b455160 client: cards can now be clicked 2025-07-08 16:48:41 +02:00
karolina a7ea8510f7 client: added player hand and animation for added cards 2025-07-08 15:58:46 +02:00
karolina 4fec323639 added 3d card 2025-07-08 11:32:52 +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 dffda0d4fe server: cleaned up code 2025-07-07 10:31:22 +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 ac74b23a0a client: added card shuffling function for host 2025-07-04 15:50:39 +02:00
karolina cde794e606 client: added CardManager and resources for full card deck 2025-07-04 15:24:44 +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 07a37a5602 server: moved send_message to LobbyManager and added broadcast_message 2025-06-30 21:31:47 +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
karolina 9922f8a48e Initial push 2025-06-28 15:19:04 +02:00