GithubHelp home page GithubHelp logo

rinaldycodes / minecraft.js-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tominous/minecraft.js-1

0.0 0.0 0.0 13.86 MB

A Minecraft clone built with ReactJS, GraphQL, ThreeJS, and NodeJS.

JavaScript 96.65% CSS 2.74% HTML 0.61%

minecraft.js-1's Introduction

MinecraftJS

MinecraftJS brings the best-selling PC game "Minecraft" into the web with the power of javascript.

Motivation

Having to open an additional app to play a game is sometimes too tiring. Therefore, we thought it'd be interesting to somehow implement Minecraft with javascript, essentially bringing the whole Minecraft game into the web. This not only takes away the tedious process of installing the game, it also brings the entire game to players with a couple clicks.

Screenshots

Simple and working terrain generation

Ability to build and break blocks

Build Stack

Javascript.

Frontend

Backend

Authentication

Features

  • Player registration
  • Save worlds
  • Database support

Installation

Before cloning the repo or doing anything, be sure to install docker and node on your computer. After that, run the following commands:

# Clone the repo
git clone https://github.com/ian13456/minecraft.js.git

# Download packages for server and client with:
npm install

# Start docker containers
cd server/prisma
docker-compose up -d

# Start backend service
cd server
npm start

# Start frontend service
cd client
npm start

After these commands, visit localhost:3000

To-do's

  • Lighting
  • Chat system
  • Command system
  • Better terrain generation (caves)
  • Random structures (villages)
  • Inventory system
  • Trivial things such as
    • Block breaking cooldowns
    • Special items (swords, pickaxes)
  • Better UI designs
  • Dockerize the entire project altogether

minecraft.js-1's People

Contributors

shaoruu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.