Skip to content

TisoneK/ScoreWise

Repository files navigation

ScoreWise

A statistical approach to basketball score prediction.

Overview

ScoreWise is a web application that implements a statistical algorithm for predicting basketball game scores. The algorithm analyzes historical head-to-head matchup data and bookmaker alternatives to provide recommendations for Over/Under bets.

Features

  • Input match information and bookmaker data
  • Enter historical head-to-head matchups (minimum 6 required)
  • Calculate predictions based on the ScoreWise algorithm
  • View detailed analysis and betting recommendations

How to Use

  1. Open index.html in a web browser
  2. Fill in the match information (tournament, teams, date, etc.)
  3. Enter the bookmaker alternatives (total match score, team scores)
  4. Add at least 6 historical head-to-head matchups with their scores
  5. Click "Calculate Prediction" to see the results
  6. Review the recommendations for match total, home team total, and away team total

Algorithm Steps

The ScoreWise algorithm follows these steps:

  1. Data Collection: Gather H2H data for at least 6 previous matchups and bookmaker alternatives
  2. Statistical Analysis:
    • Calculate total scores for each historical matchup
    • Calculate averages (match total, home team, away team)
    • Calculate rate values (difference between actual scores and bookmaker alternatives)
    • Calculate average rates
    • Perform test adjustments (±7 points)
  3. Prediction Rules:
    • Over Bet: When average rate is between +7 and +20, at least 4 of 6 previous matches had higher scores, and decrement test ≥ 1
    • Under Bet: When average rate is between -7 and -20, at least 4 of 6 previous matches had lower scores, and increment test ≤ -1
    • No Bet: When neither Over nor Under criteria are fully satisfied

Example

The application includes functionality to analyze matchups like the example in the algorithm documentation (Olympiacos SFP Pireus vs AEK Athens).

Technologies Used

  • HTML5
  • CSS3
  • JavaScript (Vanilla)

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors