50 Commits
Author SHA1 Message Date
karolina 494fc2ef1a played card stack now is purged after every play 2025-09-30 12:56:12 +01:00
karolina 2a31f4d59c played card stack can now be expanded upon hovering to see which cards were played 2025-09-27 16:31:38 +01:00
karolina 57e498506b added separate stack for trump card to be permanently visible 2025-09-27 15:42:34 +01:00
karolina b6e818cc49 request_bet and request_card are now broadcast for everyone to receive and display an arrow to represent active client's turn 2025-07-20 20:06:58 +02:00
karolina 08799a3809 refactored lobby logic; streamlined commands and added PeerMessages to client for more cohesive socket messaging 2025-07-20 17:37:10 +02:00
karolina b97d454402 clients now auto-connect to server, omitting the connection step and hiding the server URL from the frontend 2025-07-20 15:02:05 +02:00
karolina ce820260bd messages can now be sent by pressing enter 2025-07-20 14:11:46 +02:00
karolina 3cf036db42 moved chat to new ChatPanel and added smooth bottom scrolling when new message is received 2025-07-20 13:36:30 +02:00
karolina 4fe629d012 added ortica font 2025-07-20 12:31:14 +02:00
karolina 10083bfb87 increased font size 2025-07-18 15:14:32 +02:00
karolina 6870d1c89d added delay before host submits play winner to allow displaying last card played 2025-07-18 15:11:25 +02:00
karolina 06652ff910 players can now only select cards during their turn 2025-07-18 14:17:44 +02:00
karolina aef7778a4b client can now only play allowed cards 2025-07-18 14:10:39 +02:00
karolina b61dfef76f all clients now receive current round 2025-07-18 12:53:43 +02:00
karolina d778539e3d bet input now responds to inputs with (error) messages 2025-07-18 11:38:23 +02:00
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 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 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 e0693725ea added PlayCardButton; influences card selection 2025-07-08 17:07:32 +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 a2bab58d3f server: sending connected client names instead of count on every (dis)connect 2025-07-07 09:58:34 +02:00
karolina 05e5acd503 server: added SSL context for running on remote server 2025-07-06 19:49:08 +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 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 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
karolina 9922f8a48e Initial push 2025-06-28 15:19:04 +02:00