add AGPL
This commit is contained in:
parent
7cdb8a123a
commit
f9296ba5b7
4 changed files with 715 additions and 3 deletions
|
|
@ -1,3 +1,20 @@
|
|||
// This file is part of birdtown-leaderboard, and is © 2024 Alexander Khodyrev.
|
||||
//
|
||||
// Full source code is available at https://git.akho.name/akho/birdtown-leaderboard
|
||||
//
|
||||
// birdtown-leaderboard is free software: you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Affero General Public License as
|
||||
// published by the Free Software Foundation, either version 3 of the License,
|
||||
// or (at your option) any later version.
|
||||
//
|
||||
// birdtown-leaderboard is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
|
||||
// for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Affero General Public License along
|
||||
// with birdtown-leaderboard. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
@ -16,9 +33,9 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
numScores = 5
|
||||
maxNameLength = 9
|
||||
dailyDiscount = 0.99
|
||||
numScores = 5
|
||||
maxNameLength = 9
|
||||
dailyDiscount = 0.99
|
||||
)
|
||||
|
||||
type scoreStore struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue