Go to file
pyuk-bot ad696f7295
Dynamically calculate Glicko constant based on rating period (#31)
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`.
2025-05-03 20:28:18 -07:00
.github/workflows Upgrade to ESLint 9 2025-02-25 21:28:46 -08:00
config Upgrade to ESLint 9 2025-02-25 21:28:46 -08:00
src Dynamically calculate Glicko constant based on rating period (#31) 2025-05-03 20:28:18 -07:00
.editorconfig Readd editorconfig, set up tests 2022-12-29 21:22:53 -06:00
.gitignore Ignore .DS_STore 2022-12-27 20:33:17 -06:00
.mocharc.json Readd editorconfig, set up tests 2022-12-29 21:22:53 -06:00
eslint-ps-standard.mjs Upgrade to ESLint 9 2025-02-25 21:28:46 -08:00
eslint.config.mjs ESLint: Fix config 2025-02-25 21:32:17 -08:00
LICENSE Add LICENSE file 2024-08-02 19:21:40 -05:00
OAUTH.md Fix code sample for getting a token (#18) 2023-09-11 09:14:31 -05:00
package-lock.json Upgrade to ESLint 9 2025-02-25 21:28:46 -08:00
package.json Upgrade to ESLint 9 2025-02-25 21:28:46 -08:00
README.md Bumping commit 2022-12-29 20:03:37 -06:00
tsconfig.json Fix linter & sync code from box 2025-04-12 23:21:54 -05:00

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)