Play HaxBall: What Is HaxBall, How to Play and How to Host a Room

Sunucun 4 min read

HaxBall is a physics-based multiplayer football game played in the browser. No download or sign-up is needed: you choose a nickname, join a room, move with the arrow keys and kick the ball with the X key. The button below opens the game on its official website.

Illustration: Play HaxBall:

Play HaxBall

The official game page (haxball.com) opens in a new tab.

Start HaxBall

Move: arrow keys or WASD · Kick: X or Space

How to Play HaxBall

  1. Open the game with the button above and type a nickname.
  2. Join a room from the room list; the list shows each room’s country, number of players and whether it has a password.
  3. The match starts when the room admin moves you to the red or blue team.
  4. Move with the arrow keys (or WASD) and kick with X (or Space) when you are close to the ball.
  5. The goal is to get the ball into the opponent’s goal; players are shown as circles and the ball as a small white circle.

Quick tactics

  • Do not chase the ball all the time: In HaxBall the ball moves according to physics; dribbling by pushing the ball at the right angle is more effective than kicking at random.
  • Hold your position: In team matches, if everyone runs to the ball the goal is left empty; someone should stay back.
  • Pass: Short kicks into a teammate’s path lead to goals more easily than long shots.
  • Ping matters: Choose rooms with a flag close to you and low latency; in distant rooms the ball feels like it is “sliding”.

How to Create a HaxBall Room

  1. Click the Create Room button in the room list.
  2. Set the room name, the maximum number of players and, if you like, a password; only people who know the password can join a locked room.
  3. After creating the room, send the room link to your friends.

A room created from the browser closes when you close the tab, and its connection quality depends on your internet connection.

Keeping a HaxBall Room Open 24/7: Headless Host

League, tournament and community rooms that are always open run on HaxBall’s official Headless Host feature. According to HaxBall’s GitHub wiki, the Headless Host is a room server that does not draw the game on screen or play sound, which makes it much lighter, and is controlled only through a JavaScript API.

  • Starting: The page https://html5.haxball.com/headless is opened in a browser and the room is created by calling HBInit(roomConfig); a reCAPTCHA check follows and the room link appears on the page.
  • Token: To skip the reCAPTCHA, a token from haxball.com/headlesstoken can be used; tokens expire within a few minutes, so a fresh token is needed when creating the room.
  • Bots and rules: Room bots for automatic team balancing, score keeping, admin commands and statistics are written with the API; API functions that change the game state run asynchronously.
  • On a VPS/VDS: The wiki states that on Chrome 78 and later, local IP WebRTC anonymisation must be disabled for the room to work: Chrome must be started with the --disable-features=WebRtcHideLocalIpsWithMdns parameter.

You can also run a headless room on your own computer, but the room only lives as long as the computer stays on. To keep the room open 24/7 and give players low ping, you can use a VDS server located in Türkiye; on a Windows or Linux VDS, simply run Chrome with the parameter above and load your room script.

Frequently Asked Questions

Is HaxBall free?

Yes. The game is played for free in the browser; no download or account is needed.

Can HaxBall be played on a phone?

HaxBall is designed to be played with a keyboard; the most comfortable experience is on a computer.

What should I do if HaxBall does not open or the room list is empty?

Update your browser, temporarily turn off ad blockers and VPNs, and refresh the page. School, work or dormitory networks may block game connections; try from a different network.

Are “Hexball” and HaxBall the same?

Searches such as “hexball”, “haxbal” and “hax ball” are usually misspellings of HaxBall. The official game is only at haxball.com; do not enter personal information on sites with similar names.

Categories

Latest guides