๐ŸŽฎ All 30 games ยท $19

๐Ÿ•ณ๏ธ Hole io ยท HTML5 game code

Sinkhole HTML5 game source code

Sinkhole is a hole .io game. Steer your hole around a busy city and swallow anything that fits: people and cones first, then benches, trees, cars, buses, houses and finally towers. Every bite makes the hole bigger. In battle levels you out-eat rival holes before the clock runs out (a bigger hole can swallow a smaller one); every third level is a solo challenge. It plays offline with code-made rivals.

  • 60levels
  • 13object types
  • 7rivals max
  • ~420things to eat

One-time payment ยท source code + Android APK with AdMob ยท reskin & publish under your own brand ยท free builds for 30 days, then $1

Sinkhole HTML5 game running on a phone

Sinkhole screenshots

Sinkhole menu on a phone
Sinkhole gameplay on a phone

Sinkhole game features

Steer a hole around the city, swallow everything and out-eat the rivals.

๐ŸŽฎ Controls

Drag anywhere for a floating joystick. Desktop: WASD or arrow keys, P/Esc to pause.

๐Ÿ’ฐ Ad placements (AdMob ready)

  • Interstitial every 3 wins
  • Rewarded: +20 seconds on solo levels
  • Rewarded: double coins

๐ŸŽจ Reskin in minutes

  • Every object's size and value, hole growth and speed are in config.js
  • Rival names and colours, level curve and hole colours are lists
  • UI colours, title and logo text come from config.js

๐Ÿ“ฆ What's included

  • Complete Sinkhole source code (HTML, CSS, JavaScript)
  • Bundled OFL fonts and synthesized audio
  • README with setup, reskin and ad instructions
  • Asset spec for custom graphics
  • Ad adapter for AdMob (Android) and web portal SDKs

Sinkhole as an Android app is included

Sinkhole is part of our $19 pack of all 30 games. It includes the source code and an Android build with your name, icon and AdMob ads (signed APK + AAB for Google Play). Rebuild as often as you like, free for 30 days, then $1 each.

๐ŸŽ Get all 30 games ยท $19 How it works

Sinkhole game code FAQ

Is it multiplayer?

No, and that's on purpose: the rival holes are bots that play like people, so the game works offline and needs no server.

Can I change the city?

Yes. js/city.js lays out the blocks, and every object's size and score value is in config.js.

Do you have free HTML games code?

Yes. The Free Games section has 21 complete HTML, CSS and JavaScript games (Snake, Tetris, Minesweeper, Tic Tac Toe, Pac-Man style, Flappy Bird, Pong and more), each one file you can copy and paste, with a live demo. The premium games add levels, shops, AdMob ads and an Android APK.

What do I get for $19?

All 30 games in one pack, and two things for each game. First, the complete source code as a ZIP: HTML, CSS and JavaScript, bundled offline fonts, a README with setup and reskin instructions, an asset spec for custom art, and any tools (level generators, simulators) that game uses. Second, a ready Android app: a signed APK and a Google Play AAB with your app name, icon and package name, and AdMob banner, interstitial and rewarded ads using your own AdMob IDs. No subscription and no watermark.

How much do extra APK builds cost?

Nothing for the first 30 days: every app in your game pack comes with a month of free APK and AAB builds, as many as you need. After that, each build is $1. Reskinned the game, changed the name or icon, got new AdMob IDs or released an update? Change it in the builder and build again for a fresh signed APK and AAB.

More HTML5 game templates