Get random ranking when choosing the rank of the first position. Based on cobra
Parameters are:
--p1
the rank of the first position--count
the amount of positions to rank
In order to build this
git clone https://github.com/omerh/random-ranker.git
cd ./random-ranker
go build -ldflags "-s -w"
./random-ranker get random --p1 1000 --count 5
It will print out the following:
2020/07/29 16:07:11 Setting ranking for 5 positions with P1 starting rank of 1000
P_1 is: 1000
P_2 is: 965
P_3 is: 919
P_4 is: 887
P_5 is: 854
Fork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).
Copyright (c) 2019 Omer Haim, @omerhaim. See LICENSE for further details.