Skip to content

kernwdid/nhl-friends-stats

Repository files navigation

NHL Friends Stats

Since it is not possible to track NHL Online Versus Games (unranked) against friends, I created a web application to track all the scores, create tournaments and show some statistics for you and your friends.

Current team stats taken from October 2023 but can be adjusted to your liking.

Feel free to use it and if you want to collaborate or have any questions, contact me at any time: didiwein[at]hotmail.com

Buy Me A Coffee

Statistics

  • Total games
  • Total goals
  • Total shorthanded goals
  • Average goals per game
  • Total shots
  • Average shots for one goal
  • Total hits

Against each player you played against the following stats are available:

  • Wins against player
  • Losses against player
  • Highest win (largest difference)
  • Highest loss (largest difference)
  • Average goals against player
  • Average shots against player
  • Average checks against player
  • Average pass percentage against player
  • Average time in offense against player
  • Powerplay possibility
  • Powerplay score probability

Content

In addition, the application provides:

  • Tournament mode
  • Role and user management
  • Login & Authentication
  • CRUD of games
  • Upload game results and processing with Google Vision API OCR
  • CRUD of teams and their strengths
  • Language support for german and english (not 100%)

OCR

To use the upload result feature with the Google Vision API OCR processing, you need a Google service account and place the credentials in the root folder with the name gc_config.json.

Since it is free to use OCR up to 1000 images per month, we stop the upload feature by 750 pictures as it can get very costly. If you want to change it, you can set the env variable GC_OCR_ANALYZING_LIMIT to your liking.

For the stats identification I used clustering and similarity algorithms combined with regular expressions.

Releases

No releases published

Packages

No packages published

Languages