Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kjirou/among-us-random-ejection-win-rate

In Among Us, it calculates the win-rate when you repeatedly eject one survivor at random.
https://github.com/kjirou/among-us-random-ejection-win-rate

Last synced: 12 days ago
JSON representation

In Among Us, it calculates the win-rate when you repeatedly eject one survivor at random.

Awesome Lists containing this project

README

        

# among-us-random-ejection-win-rate

## Usage

```
npm install
./node_modules/.bin/ts-node src/index.ts
crewmates: 7, imposters: 3 => winRate: 0.4000 (checksum: 1.0000000000000007)
crewmates: 6, imposters: 3 => winRate: 0.3333 (checksum: 1.0000000000000002)
crewmates: 5, imposters: 3 => winRate: 0.2500 (checksum: 0.9999999999999998)
crewmates: 4, imposters: 3 => winRate: 0.1429 (checksum: 1)
crewmates: 3, imposters: 3 => winRate: 0.0000 (checksum: 1)
crewmates: 8, imposters: 2 => winRate: 0.6000 (checksum: 1)
crewmates: 7, imposters: 2 => winRate: 0.5556 (checksum: 1.0000000000000002)
crewmates: 6, imposters: 2 => winRate: 0.5000 (checksum: 0.9999999999999998)
crewmates: 5, imposters: 2 => winRate: 0.4286 (checksum: 1)
crewmates: 4, imposters: 2 => winRate: 0.3333 (checksum: 1)
crewmates: 3, imposters: 2 => winRate: 0.2000 (checksum: 1)
crewmates: 2, imposters: 2 => winRate: 0.0000 (checksum: 1)
crewmates: 7, imposters: 1 => winRate: 0.7500 (checksum: 1)
crewmates: 6, imposters: 1 => winRate: 0.7143 (checksum: 0.9999999999999999)
crewmates: 5, imposters: 1 => winRate: 0.6667 (checksum: 1)
crewmates: 4, imposters: 1 => winRate: 0.6000 (checksum: 1.0000000000000002)
crewmates: 3, imposters: 1 => winRate: 0.5000 (checksum: 1)
crewmates: 2, imposters: 1 => winRate: 0.3333 (checksum: 1)
crewmates: 1, imposters: 1 => winRate: 0.0000 (checksum: 1)
```