calculate

package
v0.0.0-...-1100b98 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChallengePts

func ChallengePts(S, R, d, x int64) int64

ChallengePts Calculate the dynamic points of game. "S" is the maximum points, "R" is the minimum points. "d" is the degree of difficulty of the challenge. "x" is the number of submissions.

func GameChallengePts

func GameChallengePts(S, R, d, x, rank int64, firstBloodRewardRatio, secondBloodRewardRatio, thirdBloodRewardRatio float64) int64

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL