Coder Social home page Coder Social logo

aktyn / bertasnakes Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 66.38 MB

Multi-player browser game.

Home Page: https://dronidev.pl/

HTML 0.14% JavaScript 1.42% TypeScript 87.18% CSS 10.51% GLSL 0.72% Shell 0.03%
browser game multiplayer online webgl free berta snakes

bertasnakes's Introduction

Berta Snakes

Multi-player browser game.

How to setup project

  • Make sure to have nodejs, npm and git installed on your system
  • Clone repository:
    git clone https://github.com/Aktyn/BertaSnakes
    cd BertaSnakes
  • Install necessary dependencies
    npm install
  • DEVELOPMENT MODE

    • Run client with:
      npm run client:dev
      (make sure port 3000 is not in use)
    • Run server with:
      npm run server:dev
  • PRODUCTION MODE

    • Compile client source:
      npm run client:publish
    • Compile server source:
      npm run server:publish
    • Run server with:
      npm run server:run
      (client files shall be published under port: SERVER_PORT specified in src/common/config.ts, default value is 5348)
  • SERVER CONFIGURATION

    • All necessary ports as well as host address are specified inside src/common/config.ts
    • Server uses MongoDB to store accounts data, sessions, etc. MongoDB credentials should be given in parameters while running server
    • Server send emails via nodemailer from gmail account. Gmail address and password must also be specified while running server. You should allow access of unsecured applications in google account settings to be able to send mails remotely from server.
    • Summarizing, the complete command to run server with all functionality is:
      npm run server:run MONGO_USER="value" MONGO_PASS="value" EMAIL_ADDRESS="[email protected]" EMAIL_PASSWORD="value"
    • Same goes for running server in dev mode (npm run server:dev)

preview

preview

preview

preview

preview

preview

bertasnakes's People

Contributors

aktyn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bertasnakes's Issues

Logo proposal

Hello
Good morning, I would like to contribute to the project by providing a logo without commitment.
Let me know if you want me to submit any proposal.

Cheers!

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.