Giter Club home page Giter Club logo

emblitz's Introduction

Emblitz Logo


Emblitz

Emblitz is a real-time multiplayer strategy game! Deploy your troops, plan a strategy, attack your opponents, and use powerful boosts! Play it at https://emblitz.com.

Here's the game trailer:
Link to youtube video

Be sure to set production mode to no if testing locally. Verification and logins will still direct you to the home page so you'll have to swap "emblitz.com" in the URL with your IP address.

You need to set up a postgresql server and create the .env file for the project yourself. Host should be 127.0.0.1 if testing locally. Database, the config file (.env), and packages are not included if you download this repo. You can find the admin dashboard at [your host]/admin and log in using the admin password you set in .env.

Here's the .env template (you can find this in the .env.example file)

HOSTNAME=[name here]
SERVERPORT=[port number here]
PRODUCTION=[yes/no]
AUTHSECRET=[your auth secret]
DATABASE_URL=[db url]
DATABASE_USER=[db username]
DATABASE_PASSWORD=[db password]
DATABASE_NAME=[db name]
DATABASE_PORT=[db port]
ADMINMASTERPASSWORD=[master admin password]
MAILUSER=[email username]
MAILPASSWORD=[email password]
ADS_ENABLED=[true/false]
ERROR_LOGGING=[true/false]

Install the required npm packages with this command:

npm i body-parser cookie-parser ejs express express-ws http jsonwebtoken path websocket ws events compression pg dotenv express-rate-limit nodemailer password-hash bad-words

© Emblitz 2022
You are free to use this code for personal use only. Please do not edit README.md or use this for commercial purposes.

emblitz's People

Contributors

emba696 avatar somewhatalex avatar somewhatrealalex avatar spoon-man avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.