Skip to content

danba340/minecraft-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to React three fiber Minecraft

This project is just me trying to mimic Minecraft in React. How i did it can be seen in this Youtube video: Video preview

Demo: https://minecraft-js.vercel.app/

How to play?

Currently it has 5 types of blocks: Grass, Wood, Log, Glass and Dirt. You switch blocks with numbers 1-5 on your keyboard. You navigate the world with the mouse and WASD. You can click to add blocks and Q+Click to remove blocks. You world is stored in your browsers local storage.

Preview

Want to extend, develop modify?

If you do so or just build a cool world. Please share it with me [email protected] or https://twitter.com/barelydaniel

In the project directory, you can run:

npx start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

This project was bootstrapped with Create React App.