Saving to db every move and able to pull in from server on page load