Gaming

How browser games work without installing anything

How a game runs in a web page with no download: the game loop, the canvas, controls, sound and saving, the limits, and small examples like the Galveo arcade.

Plugpixels Editorial TeamTechnology 5 min read
A teenager on a sofa playing a simple space game on a laptop, with an old arcade cabinet silhouette glowing behind

Browser games work by running the whole game inside a web page: open a link and you are playing, with no installer, no store and often no account. Galveo, a European product lab, keeps a small arcade of such games on its own site, built in-house between its bigger products, and they are a handy example of how far a plain browser tab can go.

This explainer covers what happens when a browser game loads, how it draws frames, reads your controls, plays sound and saves progress, why it is safe to try one, and where the limits are compared with a console or an installed game.

What happens when you open a browser game?

A browser game is a set of ordinary web files: an HTML page, JavaScript code, images and sounds. When you open the link, your browser downloads those files, much as it would for a news article, and starts running the code. Larger games may also use WebAssembly, a compact format that lets code written in other languages run at close to native speed.

Because the browser fetches only what the page needs, a small arcade game can be ready in a second or two. The files are cached, so the next visit is usually quicker still.

How does a game draw on a web page?

Most browser games draw onto a canvas, a rectangle on the page that code can paint pixel by pixel. Simple 2D games use the browser’s 2D drawing functions; 3D games use WebGL or the newer WebGPU, which pass the work to your device’s graphics chip.

The heart of any game is the game loop. Many times a second the code reads the controls, moves everything a little, checks for collisions, then redraws the scene. Browsers offer a timing function that runs the loop in step with the screen’s refresh, so a 60 Hz display gets up to 60 frames a second and a 120 Hz display up to 120, and the loop pauses when the tab is hidden to save battery.

  • Read input: keys, mouse, touch or a controller
  • Update: move objects, apply speed and gravity
  • Check collisions: did the shot hit the rock?
  • Draw: paint the new frame on the canvas
  • Repeat, in step with the display
A game that needs no install and no account should never then ask for either.

How do controls, sound and saving work?

Browsers report keyboard presses, mouse movements and touches to the page, and many support game controllers through a gamepad interface. A good browser game accepts several kinds of input. Corebreak, a breakout-style game in the Galveo arcade, lets you move the paddle with the mouse, a finger or the keyboard, launch with space, a click or a tap, and pause with Esc, so it works on a laptop and a phone alike.

Sound comes from the Web Audio interface, which can mix effects and music with very little delay. Browsers usually block sound until you have clicked or tapped once, which is why many games start with a “press start” screen. High scores and settings can be saved in the browser’s own storage on your device, which is why games without an account still remember your best score until you clear site data.

Are browser games safe to play?

Browsers run web pages in a sandbox: the code cannot read your files, install programs or reach other apps unless you grant a specific permission. That is the main reason a browser game is lower risk than a downloaded program from an unknown source.

Safe is not the same as harmless, though. Be wary of game sites that ask you to install an extension or a “player”, demand notification permission, or are crowded with ads that imitate download buttons. A game that needs “no install, no account”, as the Galveo arcade puts it, should never then ask for either.

Keep your browser updated, because security fixes for the sandbox arrive through browser updates.

What are the limits of browser games?

Browser games share the device with the browser itself, so they have less memory and processing headroom than an installed game. Big 3D worlds can take a long time to download and may struggle on older laptops or phones. Precise timing can also suffer if many tabs are open.

That is why the format suits short, focused games: an arcade shooter, a puzzle, a one-button reflex game. Thruster in the same arcade is one engine and one button. Small games load fast, run smoothly on modest hardware and are easy to share with a link.

Browser games vs cloud gaming: what is the difference?

They are often confused, but they work in opposite ways. A browser game runs on your own device; the browser only downloads the code. Cloud gaming runs the game on a remote server and streams video of it to you, sending your button presses back.

So a browser game needs a connection mainly to load, and then depends on your device’s power. Cloud gaming needs a fast, steady connection the whole time, but can show demanding games on a weak device. For a five-minute break, a small browser game is usually the simpler choice.

Frequently asked questions

Do browser games need to be downloaded?

+

Not in the usual sense. The browser downloads the game’s web files automatically when you open the page and keeps them in its cache, but nothing is installed on your device.

Can browser games run on a phone?

+

Yes, if they are built for touch. Many small games accept touch as well as mouse and keyboard; Galveo’s Corebreak, for example, can be played by pointing at the screen or tapping.

Why do browser games not play sound straight away?

+

Browsers block audio until you interact with the page, so websites cannot start making noise on their own. A click or tap on a start button turns sound on for that page.

Do browser games save progress?

+

Many save scores and settings in the browser’s storage on your device. Clearing site data, using private browsing or switching browsers will usually reset them unless the game has an account.

Who makes the Galveo arcade games?

+

They are made in-house by Galveo, a European product lab that also builds the Listub organiser and other software. Its about page describes a small team that builds every layer itself.

Next time you have five minutes, open a small browser game and notice what is missing: no installer, no update, no account. Everything you need arrived with the page, and it disappears just as quietly when you close the tab.

How we research: Guides are written from established sources and checked for accuracy. They are general information, not professional advice.

Written by

Plugpixels Editorial Team

Technology

Our writers have spent years taking devices apart, on the bench and on paper, and explain them in plain language.

More Stories

View all →