Vibe-Coded Browser Game

CraftMine

A complete Minecraft clone in one HTML file. P2P multiplayer, 46 blocks, 36 mobs, 19 weapons, 5 biomes, procedural lofi music. Zero build tools. AI-generated.

CraftMine — snowy biome with trees at sunrise
CraftMine — mountain landscape with snowy peaks CraftMine — flying over snowy mountains

By The Numbers

46

Block Types

Grass, stone, ores, glass, TNT — plus 21 DOOM-themed hell blocks.

36

Mobs

Chickens to dragons. Pack wolves, swarming bees, teleporting endermen, a 300 HP titan boss.

19

Weapons

Diamond sword, shotgun, railgun, BFG 9000, black hole gun, nuke launcher.

P2P

Multiplayer

PeerJS WebRTC. Host a game, share the code, friends join instantly. Host migration built in.

Features

Everything crammed into a single file.

▒

Procedural World

6 simplex noise generators build terrain, caves, ores, and biomes. Mountains, oceans, deserts, forests, and snowy peaks.

⚔

Combat System

Hitscan lasers, projectile rockets with gravity, 8-pellet shotguns, chain lightning, and a nuke with a 15-block blast radius.

☠

Mob AI

Passive animals by day, hostile mobs at night. Wolves hunt in packs. Bees swarm. Creepers explode. Endermen teleport.

☼

Multiplayer

PeerJS P2P networking. Host or join with a room code. Synced world edits, combat, chat. Host migration if the host leaves.

⚙

Procedural Music

Seed-based lofi music system. Every world gets its own soundtrack generated from the world seed.

⚡

DOOM Layer

21 hell-themed blocks — flesh walls, skull tiles, pentagrams, nuke barrels. It started as Minecraft and became something else.

Controls

Movement

  • Walk W A S D
  • Jump Space
  • Sneak Shift
  • Look Mouse

Actions

  • Break / Shoot Left Click
  • Place block Right Click
  • Switch weapon Scroll
  • Pause Esc

Ready?

No download. No install. Just click and play.