Great work, I saw a a similar mechanic in the dice game jam awhile ago and couldn't figure out how to implement it.
Thanks <3
Basically, you record the player actions → send the data to Firebase → recall the data and store it in every player ghost :3