This is a tiny MineCraft clone with limited functionality.

The game consists of a vanilla ES6 3D engine, terrain generator, and basic game control management - all in under 200 lines.

Instructions:

  • Use WASD or the arrow keys to move
  • Use space to jump
  • Press a number between one and five to select a block
  • Left click to remove a block
  • Right click to place a block

Features:

  • 3D > 2D rendering engine, with a lot of simplification before rendering
  • Practically infinite world generation & chunk loading
  • Seed based Random Number Generation
  • If you keep the same seed, your changes will be stored with localstorage

RNG is seed based:

(the following does not work on itch, you must download the game to manipulate the seed)

  • If you print out 'seed' in the console you can see your current seed
  • To set the seed you can use the query parameter '?seed=####' in the URL
  • The seed should be any number

Download

Download
minutecraft.js 20 kB

Comments

Log in with itch.io to leave a comment.

I am make extension for this game https://dobroposter.netlify.app/minutecraft_ext/minutecraft_ext.zip

IT IS MY SEED ?seed=11212

You can run a local python server

https://jsfiddle.net/voa15e7g/1/

Included the main file, simply download the file and put it in a script tag in a HTML document, it will create the canvas itself.

This isn't loading... maybe I misconfigured it