Skip to content

MilthmLang/reality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Milthm Reality

Go module milthm.dev/reality/v3 for computing reality scores based on song records.

Features

  • Compute individual record ratings from song difficulty and player score.
  • Aggregate up to 20 top ratings into a single reality score.

Installation

go get milthm.dev/reality/v3

Usage

import (
    "fmt"
    "milthm.dev/reality/v2"
)

func main() {
    // Implement ScoreRecorder and ChartInformationRepository interfaces
    total, err := reality.CalculateReality(scores, repo)
    if err != nil {
        fmt.Println("Error:", err)
        return
    }
    fmt.Println("Total reality:", total)
}

Plot

Score vs Reality plot

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages