TETERI
Playing TETERI
Playing Offline and Installing It
A service worker caches the whole game, so it runs with no connection and can be added to your home screen.
TETERI works with no internet connection once you have loaded it once, and your browser will offer to install it as an app.
How offline works
A service worker stores the game's files, meaning the HTML, the stylesheet, the scripts and the icons, in your browser's cache the first time you visit. On later visits the game is served from that cache rather than the network.
The result is that it starts instantly, and it starts whether or not you have a connection.
What works offline
Marathon, versus CPU and local split-screen all run entirely on your device with no network involvement, so all three work exactly as normal.
Online duels obviously do not, since they need to reach another player. The mode is still there; it will simply fail to connect.
Installing it
On a phone, your browser's menu will offer Add to home screen or Install. On a desktop browser there is usually an install icon in the address bar.
Installed, it opens fullscreen with no browser chrome, appears in your app list, and keeps working offline. There is nothing to uninstall beyond removing the icon; it is the same web page in a different frame.
How updates reach you
The service worker serves the cached copy immediately and quietly re-fetches in the background, so a change reaches you on your next load rather than the current one. A whole page load always comes from one generation of the cache, so you never get a mix of old and new files.
What is stored
Only the game itself, plus your best score and settings. Nothing about how you played, nothing sent anywhere, and clearing your browser data removes all of it.
Why bother
Aeroplanes, trains, basements, patchy hotel connections, and the general principle that a game which is a few hundred kilobytes of static files has no business requiring a network to run.
Read next
- Why Play TETERIFree, instant, offline-capable, and it asks nothing of you before you can start. A straight account of what it offers.
- The Four Game ModesMarathon, versus CPU, split-screen and online duels, and what each is actually for.
- Every Control in TETERIThe complete list for keyboard, touch and gamepad, including the ones that are not obvious.
- Playing on a PhoneTwo layouts, two control schemes, and the specific problems that had to be solved to make touch work properly.
- DAS and ARR: The Timings Behind Holding a DirectionTwo numbers control how a held key moves a piece, and they change how the game feels more than any other setting.
- The T-Spin Triple and the Kick That Makes It PossibleThree rows from one T piece, using the most extreme offset in the kick table.