Skip to content

Repository files navigation

A simple tactical MMORPG made with Phaser 3, node.js and socket.io.

You will need to create a .env file from the .env.dist template:

cp .env.dist .env

You should change the TOKEN_SECRET and REFRESH_TOKEN_SECRET.

You will need a mongoDB database to run the game (except if you use the docker version, which provides one). When it is setup, put the connection string in the MONGO_CONNECTION_URL variable.

[OPTIONAL] You will need a working gmail account if you want to use the forgot password system. Set it up in the EMAIL, PASSWORD and EMAIL_PROVIDER variables. The password should be an application password (see https://support.google.com/accounts/answer/185833).

Finally, to compile and start the project, just run:

npm install
npm run build
npm start

For development, use:

npm run buildDev
npm run startDev

You can also use the docker version, which contains a default mongoDB database:

docker compose up

In that case, make sure to use the default MONGO_CONNECTION_URL in the .env.dist file.

The game will be running on http://localhost:8080 by default (the port can be specified in the .env file if needed).

Credits for the assets :

About

A tactical MMORPG made with Phaser, node.js and socket.io

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages