Qx
and it'll list all the possible moves starting with that
• Notifications when the other player makes a move. Simple QOL thing
• A refactored codebase to allow the backend service to start a game with a player on discord. This makes it possible to start games from other services!
Github repo: github.com/Suyashtnt/chess-anywhere
Discord invite link to mess around in: discord.gg/bBsNn68tqhtauri-plugin-state
: a dead simple state management library for tauri that has some nice ergonomics. Simply initialize the plugin, wrap your state in the State
struct, and enjoy your new synced state! There's also a frontend npm package to handle recieving and processing the state changes on the frontend
Cargo: crates.io/crates/tauri-plugin-state
Npm: www.npmjs.com/tauri-plugin-state
Source code: github.com/glowsquid-launcher/glowsquid/tree/dev/libs/tauri-plugin-statestate_change
events, and then emits a sync_ready
event. Svelte internally stores a reactive state map of all state objects and their keys, which is used to identify them on both sides
• Tauri then recieves the sync_ready
event and creates and sends the state objects down to the frontend. The state objects themselves are smart, and whenever they're updated they send an event to the frontend saying they were updated with a new value
• The end result: State being perfectly synced to the frontend 100% of the time :sunglas:
All of this is completely typesafe as well thanks to specta
. I also had to update the internal copper
Minecraft library to allow serialisation of the Minecraft profiles it gets/connect <lastfm name>
!