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.

PLAY TETERI ALL ARTICLES