Code Monkey home page Code Monkey logo

aoe4bot's People

Contributors

mazgrasl avatar taloth avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aoe4bot's Issues

!rank on unranked player returns null strings

!rank Serral
returns
Serral is unranked (null Elo), with null games (null-null | null%) [last played NaN min ago]

whereas we expect something like:
Serral is unranked, with 0 games
or
Serral is unranked in Ranked 1v1, with 0 games (QM 1v1 for the other leadboard)

Need deployment documentation

@orientalsniper asked for how to deploy to vercel. But I dunno what format vercel requires to recognize it as a vanilla nodejs app.

Atm I deploy it manually to a kubernetes cluster as docker container. With Dockerfile:

FROM node:15

WORKDIR /usr/src/app

COPY package.json ./

RUN npm install

ENV PORT=8080
COPY index.js ./
COPY aoe4/ ./aoe4/
COPY views/ ./views/

RUN ls -al

EXPOSE 8080
CMD [ "node", "index.js" ]

Regardless, we should probably have some instructions on how to build and run it locally:

yarn install
yarn start

and some instructions on how to deploy.

Unknown result is considered a loss

When a match is not ongoing, the result is checked with team1W = result == 'win'.
If the result is null, team1W is set to false, so this evaluates to a loss: [${team1W?'W':'L'}]
When this happens, both teams are shown as having a loss.

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.