mirror of
https://github.com/smogon/pokemon-showdown-loginserver.git
synced 2026-03-21 17:34:38 -05:00
This makes the rating period a global constant accessible to all objects in the file instead of being set as part of a constructor, and makes `GlickoPlayer` calculate its `c` value by calculating the number of rating periods in a year dynamically based on the length of that rating period in days, instead of being a hard-coded `365.0`. |
||
|---|---|---|
| .github/workflows | ||
| config | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| .mocharc.json | ||
| eslint-ps-standard.mjs | ||
| eslint.config.mjs | ||
| LICENSE | ||
| OAUTH.md | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Pokemon Showdown Loginserver.
This is the PS loginserver.
Build it with npm run build, and run it with npm run start.
You can access it via either /action.php, or /api/[desired action].
See src/actions.ts for a list of the actions. (Actions can be added by adding a function to that file)