Repository navigation
Minecraft in JavaScript — v1.0.0 (most likely, Final Version) 🎮
The official release of the Minecraft built for the web using Three.js.
This project was developed from scratch as part of my YouTube series “How to Code Minecraft in JavaScript”, exploring the algorithms and systems behind an interactive voxel-based 3D game with infinite and procedural terrain generation.
✨ Features
- 🌍 Procedural terrain generation using Perlin Noise
- ♾️ Infinite terrain generation
- 🧱 Voxel-based world
- 🎮 3D first-person character movement
- 🎯 Raycasting for block interaction
- 💥 3D collision detection
- 🌲 Textured terrain and blocks
- ✅ Efficient rendering via instanced meshes
- 💾 Loading and saving worlds
- 🖥️ Fully browser-based
🛠️ Technologies
- JavaScript
- HTML / CSS
- Three.js
📺 Learn how it was built
The project was developed alongside a complete YouTube tutorial series, starting from the fundamentals and progressively building the game from scratch.
YouTube: Hritik RC
Tutorial Series: How to Code Minecraft in JavaScript
🚀 Running the project
Download or clone the repository and open 3dminecraft.html in your browser.
For the textured version, the project needs to be served through a local web server.
A project that started as an exploration of how Minecraft works under the hood and grew into a multi-year journey through procedural generation, 3D graphics, game development, and JavaScript!
Thanks for checking it out! 🚀
Full Changelog: https://github.com/HritikRC/Minecraft/commits/v1.0.0