This is an interesting Minecraft game implementation by React and Three.js.
- In the project directory, run
npm install && npm start
- Open http://localhost:3000 to view it in the browser
w
: Fowards
: Backwarda
: Leftd
: Rightspace
: Jump- (Tip) Align your cursor with the centered
+
sign and click mouse to rotate the screen
alt
oroption
+ mouse click: Remove the block1
: Select Dirt Block2
: Select Grass Block3
: Select Glass Block4
: Select Wood Block5
: Select Log Block
The system features five block types: Grass, Wood, Log, Glass, and Dirt.
Block selection is achieved via keyboard numbers 1-5.
Navigation is managed using the mouse and WASD keys. Clicking adds blocks, while Alt+Click removes them.
The world data is stored locally in the browser.