69 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 af959744e1 fixed other players overlapping when one is neither first nor last in lobby 2025-09-27 15:27:06 +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 66287ee8a0 fixed some things 2025-07-20 19:26:50 +02:00
karolina 9b8390cfb3 server now rotates through playing order every round and lets the winning player go first 2025-07-20 18:30:51 +02:00
karolina 5e54ce45e7 removed assert test queries 2025-07-20 17:46:32 +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 f11cb19348 changed scaling mode 2025-07-20 14:15:27 +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 189d04ccd4 jester and magician cards have been recoloured to white to avoid confusion with numebred cards 2025-07-20 12:17:52 +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 2e83eea619 cards in first turn get put in hand turned around 2025-07-18 12:57:12 +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 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