Skip to content

shaoruu/mc.js-legacy

 
 

Repository files navigation

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

About

ARCHIVE OF MC.JS (DMCA'ed), NEW REPO: mine.js

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.3%
  • CSS 13.5%
  • HTML 0.2%