Code Monkey home page Code Monkey logo

mc.js-1's Introduction

Miner.js

An open source voxel game in javascript that can be played in your browser.

Disclaimers

๐Ÿ“Œ This project is a work in progress. There are still a lot of features waiting to be implemented, and the game is far from being completed.

๐Ÿ“Œ Miner.js is not associated with Mojang or Minecraft in any sort of official capacity.

Motivation

We thought it would be interesting to design a game that is inpsired by the hugely popular game "Minecraft" with javascript. We are interested to see if javascript can deliver quality graphics and performance, and interactive multiplayer gameplay within a 3D voxel type environment.

Screenshots

These are some screenshots taken directly from the project.

Awesome Graphics

Screenshot taken with paper-cut-resource-pack

Screenshot taken with paper-cut-resource-pack

Screenshot taken with paper-cut-resource-pack

Screenshot taken with paper-cut-resource-pack

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:

# Install the prerequisite libraries
yarn global add prisma graphql-cli nodemon

# Clone the repository
git clone https://github.com/ian13456/mc.js.git

# Download packages for both server and client
yarn

# Export environment variables for prisma
# FOR WINDOWS
set PRISMA_MANAGEMENT_API_SECRET=my-secret
# FOR MAC/LINUX (recommend putting this into .bashrc)
export PRISMA_MANAGEMENT_API_SECRET=my-secret

# Start all services
yarn run init # only needed when running for the first time
yarn run start

After these commands, visit localhost:3000

Note

๐Ÿ“Œ Miner.js runs fastest on either Opera or Chrome.

Sources

mc.js-1's People

Contributors

shaoruu avatar foxkdev avatar baltaazr avatar gokaygurcan avatar msudol avatar fi1osof avatar dependabot[bot] avatar homerchen19 avatar usymmij avatar weilonge avatar angristan avatar

Watchers

James Cloos 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.