Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/louisgab/minecraft.js

A nodejs and html5 implementation of a minecraft-like game in 2D.
https://github.com/louisgab/minecraft.js

Last synced: about 2 months ago
JSON representation

A nodejs and html5 implementation of a minecraft-like game in 2D.

Awesome Lists containing this project

README

        


MineCraft.Js is a multiplayer game looking like MineCraft but in a 2D and web version. Started with a chool project.

#### Dependencies
- Modern browser.
- Node.js.
- Socket.io and Express.js

#### Install
- Set your preferences in the `config.json` file (ip, port, dimensions).
- Download dependencies with `yarn` or `npm install`.
- Run the server `yarn start` or `npm start`.
- The game will be launched at `http://localhost:8080` by default.

#### Demo
You can test the game online at [https://minecraftjs2017.herokuapp.com/](https://minecraftjs2017.herokuapp.com/) (free heroku account, it's a bit slow).

#### Commands
- Move with the arrow keys `top`, `bottom`, `left`, `right`.
- Choose an item from inventory with the mouse wheel.

#### Features
- Realtime multiplayer management.
- Responsive playable area.
- World exploration with boundaries.
- Collision management with auto-jump et falling.
- Random generation of the ground with caves.
- Build and destroy blocks around you (2 blocks distance).

#### Credits
Graphics were downloaded on following sources :
- [Texture pack](http://www.minecraftforum.net/forums/mapping-and-modding/resource-packs/resource-pack-discussion/1249790-16x-32x-64x-1-8-the-default-texture-files?comment=1).
- [Logo](https://textcraft.net/).