Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A fan-made Minecraft-inspired 2D sandbox game built with pure HTML, CSS, and JavaScript.
Mine blocks, collect resources, build structures, and explore a procedurally generated world directly in your browser.


✨ Features

  • 🌍 Procedural World Generation
  • 🌳 Random Tree Generation
  • ⛏️ Tool System (Axe, Pickaxe, Shovel)
  • 🎒 Inventory System
  • 🧱 Block Placement
  • 💎 Multiple Ore Types
  • ☁️ Animated Main Menu
  • 🎵 Menu Background Music
  • 📱 Responsive Interface
  • ⚡ Vanilla JavaScript (No Frameworks)

🎮 Gameplay

  • Break blocks using the correct tool.
  • Collect resources into your inventory.
  • Select blocks from the hotbar.
  • Place blocks anywhere in the world.
  • Generate a brand new world at any time.

🛠️ Technologies

HTML5 CSS3 JavaScript


📂 Project Structure

minecraft-js/
│
├── assets/
│   ├── audio/
│   ├── backgrounds/
│   ├── blocks/
│   ├── hotbar/
│   └── items/
│
├── css/
│   ├── style.css
│   ├── blocks.css
│   ├── landing.css
│   └── game.css
│
├── js/
│   ├── landing.js
│   ├── game.js
│   ├── world.js
│   ├── inventory.js
│   └── tools.js
│
├── index.html
└── game.html

About

A Minecraft-inspired 2D sandbox game built with HTML, CSS and Vanilla JavaScript.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages