You are browsing as a guest. Sign up (or log in) to start making projects!

5h 31m 48s logged

Look at this beautiful UI!

Just kidding, this is a throwaway UI to see if my code is working. I will (or at least will try to) make the Cardy Party website look good once all the functionality is done.
After fighting with Rust and calling my good friend Copilot for some help, I managed to make the client connect using a websocket to the server and then listen for any changes to the list of lobbies.
Yes, this is going to be the list of lobbies users will join. And yes, I wanted the list to update by itself instead of the user spamming a “refresh” button.
One of the decisions I had to ponder during my procrastination time was whether to resend the whole lobby list to the client or just the little changes whenever something happens. My buddy Claude advised me to resend everything every time because a desync can occur if a client happens to miss a message. Even though this isn’t a big problem with a high probability, it’s best to keep best practices. :)

(also, if you noticed the time difference from my last devlog… yes I have been procrastinating all that time)

0
15

Comments 0

No comments yet. Be the first!