RpPolitcalPartySeats

Bot Discord

RpPolitcalPartySeats

Questa scheda bot è in attesa di essere rivendicata

Questo bot non ha un manager al momento. Se sei il proprietario di questo bot Discord, rivendicalo per modificare la scheda e diventarne il titolare.

Informazioni

A bot used to simulate Roleplaying elections

The Process for this bot is as follows
It generates a ratio which = a random number between (0-25) + 25 + Weight, all this is then divided by 100 to get a ratio
Then the first party gets seats according to that ratio rounding down
then the second party gets a number of remaining seats according to its ratio
and so on
then once all parties have been assigned seats according to their ratio
the rest of the seats will go to independents
for example
!NewElection 100 Party1-10,Party2-5
RpPolitcalPartySeatsBOTToday at 2:37 PM
Party_1 - 46
Party_2 - 23
Independents - 31
GinsayToday at 2:37 PM
The first party has a weight of 10, thus its ratio = (10 + 25 + (0-25)) = .46
and because there are 100 seats it get 46
the second party has a ratio = (5+25+ (0-25))/100 = .44
and 100 - 46 = 54
thus 54 *.44 = 23
and 100 - (46 + 23) = 31

Lingue

  • English

Recensioni

3 · 3 recensioni

Ancora nessuna recensione — sii il primo a condividere la tua esperienza.

Statistiche di voti

Rilevate su questa directory negli ultimi 30 giorni.

0 Voti questo mese
0 Voti totali
0 Ultimi 7 giorni
0 Votanti unici · 30 g

Ultimi 30 giorni

  • Voti

Per giorno della settimana

lun
mar
mer
gio
ven
sab
dom
RpPolitcalPartySeats
RpPolitcalPartySeats
0 server · 0 voti mensili
Invita