I remember that actually, this is something I wanted to do from the beginning.
Possibly the action should be happening on the background while blurred. When you visit a website, it should start loading squares. When loaded, it should draw the board and listen to the game webhooks, updating the field accordingly. When a user clicks PLAY, the game session starts without refetching squares or anything.
I remember that actually, this is something I wanted to do from the beginning. Possibly the action should be happening on the background while blurred. When you visit a website, it should start loading squares. When loaded, it should draw the board and listen to the game webhooks, updating the field accordingly. When a user clicks PLAY, the game session starts without refetching squares or anything.
A downside is that it might lag on the start screen because of all this. Linked: https://github.com/cbrwizard/picswars.io/issues/54 and https://github.com/cbrwizard/picswars.io/issues/26