# minecraft-react **Repository Path**: masaikk/minecraft-react ## Basic Information - **Project Name**: minecraft-react - **Description**: 使用react-three-fiber库构建一个类minecraft游戏 - **Primary Language**: JavaScript - **License**: WTFPL - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-11-18 - **Last Updated**: 2025-03-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Welcome to React three fiber Minecraft 使用react-three-fiber构建一个类似minecraft的网页应用 ## 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 Alt+Click to remove blocks. You world is stored in your browsers local storage. ![Preview](preview.png 'Preview') ## Want to extend, develop modify? In the project directory, you can run: ### `npm install && npm start` Runs the app in the development mode.
Open [http://localhost:3000](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](https://github.com/facebook/create-react-app).