Skip to content

sstockbridge/minecraft-react

 
 

Repository files navigation


All Contributors

This is a block-based game implementation using React Three Fiber.

Here is a video showing how it was written.

Running The Code

To run the project clone the repository and run yarn && yarn start to launch the app.

To install yarn, it is recommended to use npm - npm install --global yarn

To install Node.js and npm, click here.

Playing the Game

Controls

w - move forward

a - move left

s - move backward

d - move right

spacebar - jump

left-click - place block

Building Blocks

Each game starts with one existing dirt block that is used as the starting point for building:

mc_start

To build more blocks, aim your camera at one side of the block until it darkens, then click to add a new block:

mc_build

Note: New blocks must be added as additions to an existing block.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Phawat Nasompong

🚧

Christian Aurich

🚧

chris

🚧

Maksim Ivanov

🚧

This project follows the all-contributors specification. Contributions of any kind welcome!

About

A simple blocky game implementation using React and ThreeJS

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 85.3%
  • HTML 11.0%
  • CSS 3.7%