X Tutup
Skip to content

plekiko/MinecraftJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

389 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MinecraftJS

A 2D Minecraft fan game written entirely in Javascript using no engines or frameworks!

It is, from my research, the most complete 2D Minecraft fan game you can play in your browser!

image image image image

Important

This game is playable but still under development. Expect some minor issues. Please feel free to report any that you come across!

Local Development

Option 1 - Node.js

To get set up, run npm install in both the Client and Server directories. You can then run npx serve Client in the root directory to host the client on localhost:3000. There is no hot-reloading, so any changes will require a page refresh. To host a server, run node server.js from the Server directory. By default, this hosts on port 25565.

Option 2 - Docker

If you wish to build the project with Docker, you can run: docker build -t minecraftjs .. You can then run it with docker run minecraftjs, which will host the game on port 80 (simply localhost). Please be advised that this is a static build and will not update when you modify the code unless you re-run the build command.

Note

If you are using Docker on Linux in a non-root environment, you may need to use --network=host to avoid build and run errors.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

X Tutup