← Start making

EXAMPLES / TRY IT YOURSELF

Your first game UI: hearts and coins

A small screen with hearts, coins and selectable items. Download the very example you try here and make it yours.

01 / TRY IT

Start right here.

Open full example ↗

Press Coins +10 to change the total, then choose an item.

BUMBLEV / GAME UI

A small adventure

Coins120

A UI exercise. Nothing is saved or sent.

Scope and saving

Not a full game. No combat or persistence; refreshing resets the example.

This runs from the included source files. The example code contains no ads or analytics.

02. Download and run it yourself

The complete starter

HTML · CSS · JavaScript · Assets · EN/KO guides

v1.0.0 · 0.01 MB ·
Download example ZIP ↓
  1. Download the complete example ZIP and extract it fully. It includes the needed icons and instructions. This is separate from the full original icon pack.
  2. Open index.html in a desktop browser and choose English. No server, installation or API key is required.
  3. Press Coins +10 twice to reach 140, then Reset to return to 120. Select a backpack, map or compass to check its selected state.
  4. Edit styles.css for color and spacing, app.js for starting coins and behavior, and index.html for text and layout. Save and refresh.
Files and verification details

index.html · styles.css · app.js · assets/ · README-KO/EN · LICENSE.txt

Example code and included assets are shared under CC0; credit is optional. The kit contains the files needed for this exercise, not the entire original asset pack. Text and app state are not saved.

SHA-256: 0ec8c3c7f51d68186adaaaaa839880ab78ad3fbdd50a29b31b98c8b09ae1c636

03. Adapt it to your own project

Keep the original ZIP and edit a copy. Give your AI the actual files along with the prompt. This is a concrete example request for modifying this starter.

Modify the attached BumbleV game-ui starter. Read index.html, styles.css, app.js and assets first. Original pack files such as icons/heart.svg are included as assets/heart.svg in this starter. Preserve the embedded images’ colors and aspect ratios. Change starting coins to 50 and the increment to 5, including the button label. Keep selection and reset working without horizontal overflow at 320px. Do not add external libraries, accounts, payments or data collection. Distinguish tests you ran from checks you could not run.

04. Check the result

  • Coins +10 twice gives 140; Reset gives 120
  • One selected item is highlighted; Reset clears selection
  • Tab reaches controls and Enter activates them
  • No horizontal overflow at 320px; refreshing resets state

If it does not run, check that the entire ZIP was extracted. Mobile file-preview apps may not run it; check in a desktop browser first.

After your first result