Can I play the car drifting game offline?
Not fully. There is no offline version or app, so you need an internet connection to open the game, because it loads from the website each time.
Once the page has loaded, the game itself does not call any server while you drive. Your runs, cash and unlocks are written to your browser's local storage on your own device, not to an online account.
That means a dropped connection in the middle of a session will not stop the car you are driving. But if you close the tab or reload while offline, the page cannot load again until you are back online. The game has no service worker or offline cache.
If you play on a phone with a weak signal, load the game while you have a connection and leave the tab open. Your save stays in that browser either way. Read where your progress is saved for what can erase it.