BlockCraft
BlockCraft is a WebGL implementation of an infinite procedurally-generated voxel world that runs on the browser. This project originally spawned as a Minecraft Classic clone but has expanded to include multiplayer PvP, crafting, shaders and much more!
Here's a summary of my development journey
Play it online now
Getting started
Running a local client
- Clone the repo
- Go into the client folder
- Install the node modules
- Run npm start.
The client files will be available on http://localhost:3001 by default.
git clone https://github.com/blockcraftio/blockcraft.git
cd blockcraft/client
npm install
npm start
Running a local server
- Clone the repo
- Go into the server folder
- Install the node modules
- Set up the .env file
- Run npm start.
The local server will be available for direct connect on http://localhost:3001 when you have the local client running as it proxies the connections. It is also available at http://localhost:3002
git clone https://github.com/blockcraftio/blockcraft.git
cd blockcraft/server
npm install
cp .env.example .env
npm start