Skip to content

feat: IceCraft — a Minecraft-style ice world with large ice castles#15

Draft
ilikevibecoding wants to merge 3 commits into
mainfrom
cursor/bc-0662625a-2252-4649-a3c5-e2a987a34409-1fce
Draft

feat: IceCraft — a Minecraft-style ice world with large ice castles#15
ilikevibecoding wants to merge 3 commits into
mainfrom
cursor/bc-0662625a-2252-4649-a3c5-e2a987a34409-1fce

Conversation

@ilikevibecoding

Copy link
Copy Markdown
Owner

❄ IceCraft

A self-contained, browser-based Minecraft-style voxel sandbox set in a frozen world of endless snow, frozen lakes, and large procedurally-generated ice castles. Built with Three.js (vendored locally) and plain ES modules — no build step. Lives in the new ice-craft/ folder and is playable by serving the repo and opening /ice-craft/.

Why a browser/WebGL game (not Unity): this repo's deployable surface is a static GitHub Pages site, and a web game can be run and visually verified in CI/headless Chrome. The existing phone-gift site at the repo root is left untouched.

Features

  • Chunked voxel world (16×16 columns, 64 tall), per-face-culled meshing, dynamic chunk load/unload around the player.
  • Procedural icy terrain: snow, packed ice, blue-ice veins, glacier stone, frozen dirt, and flat frozen lakes at sea level.
  • Large ice castles placed deterministically: curtain walls with battlements, corner towers with conical spires, a tall central keep, glowing-crystal spire tips, and a gatehouse. Stamped chunk-independently so they're seamless across borders and identical on reload.
  • First-person physics: gravity, AABB voxel collision, jumping, sprinting, and a creative fly mode.
  • Block editing via a DDA voxel raycast with a targeted-block highlight (LMB break / RMB place).
  • Hotbar of 8 ice block types (number keys / scroll), crosshair, debug HUD, click-to-play overlay.
  • Cold atmosphere: sky-gradient dome, blue depth fog, translucent ice, sun + hemisphere lighting, falling snow particles.
  • Procedural texture atlas (canvas, NearestFilter) — no binary image assets.

Controls

WASD move · Mouse look · Space jump · Shift sprint · F fly (then Space/C up·down) · LMB break · RMB place · 1–8/scroll select · Esc release mouse

Deployment

/.github/workflows/deploy-pages.yml now also copies ice-craft/ into the Pages build, so it deploys at /ice-craft/ alongside the existing site (root phone gift untouched).

Testing

Verified end-to-end in headless Chrome (puppeteer-core + swiftshader). Automated checks (all passing): no console/page errors, world renders (~126k triangles, 200+ chunks), player rests on ground under gravity, break removes a block and place adds one, and an ice castle is found and renders. All JS modules pass node --check.

Run locally:

python3 -m http.server 8099   # from repo root
# open http://localhost:8099/ice-craft/  (click to play)

Screenshots

Hero view (central keep + corner-tower spires with crystal tips, battlemented walls):
IceCraft hero castle

Castle front (gatehouse + courtyard):
IceCraft castle front

Aerial:
IceCraft castle aerial

First-person world (terrain, frozen lake, hotbar, snow, distant castles in fog):
IceCraft world

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits June 18, 2026 04:28
… HUD

Co-authored-by: ilikevibecoding <ilikevibecoding@users.noreply.github.com>
Co-authored-by: ilikevibecoding <ilikevibecoding@users.noreply.github.com>
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
my-projects Ready Ready Preview, Comment Jun 18, 2026 6:33pm
my-projects-kf1f Ready Ready Preview, Comment Jun 18, 2026 6:33pm

Co-authored-by: ilikevibecoding <ilikevibecoding@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants