Reference · Mazes, arrows and mixed boards
ratingOffunction
An effort as a rating from 1 to 100, on a scale where doubling the effort adds the same each time.
Import it
import { ratingOf } from "@johnmorrisdotca/meikyuu";
Definition
function ratingOf(effort: number): number
Parameters
| Name | Type | Description |
|---|---|---|
effort | number | Native measured effort to convert to a rating. |
Returns
number
An effort as a rating from 1 to 100, on a scale where doubling the effort adds the same each time.
Examples
import { ratingOf } from "@johnmorrisdotca/meikyuu";
console.log(ratingOf(100));38What it prints (run when this page was built)