Coder Social home page Coder Social logo

ralex0 / dogars Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spandamn/dogars

0.0 1.0 0.0 8.52 MB

Source code for dogars.ml

Home Page: http://dogars.ml

License: GNU Affero General Public License v3.0

JavaScript 0.01% HTML 96.62% TypeScript 3.38%

dogars's Introduction

Dogars

Note: The front end code was removed from this repo, entirely rewritten and moved to dogars-frontend. Some features were completely removed and may not come back.

Install with npm install. Build with gulp. Edit the service file to use your path if you use systemd.

Edit settings.json as you see fit. There's supposed to be a table named Sets in your database. You could infer the proper schema from the code, or get a database dump from dogars.ml.

Currently, the application runs on dogars.ml on port 1234 and an nginx rule redirects traffic from port 80 to port 1234.

Works on my machine©.

Read the code of conduct before contributing.

Features

  • Automatic hijacker to automatically dump a disconnected, unregistered opponents team on the chat and forfeit the battle
  • Infer link to the latest battle from the current thread
  • Manage statistics about champ (win, losses, ELO, avatar)
  • Automatically saves replays of battles won by a champ, and links replays to sets it has seen in the battle
  • Allow users to manually upload replays
  • Wall of Fame
  • Imported sets validity check

Known bugs

  • After a while, Showdown automatically closes the connection if it has not been used to transmit data, and a lot of the features rely on this.

  • Database backup every hour, and preserves every previous backups, just in case.

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.