Comments (3)
The description is a bit inaccurate there: It's unlikely that the Grudgers win, but it is possible. As Nicky's description says, the two tie when all the others are out of the game. In that scenario they behave exactly the same and always get the same scores.
The setup here always leads to 25 Cooperative and 1 Grudger peep and everything after that is randomly decided. Since it starts out 25:1 it should rarely happen that the Grudgers actually win.
@ncase For me it actually didn't seem to be possible to reproduce this (using the playground + code tweaks to get the setup with 26 peeps). The single Grudger got killed off almost instantly every time, which did not feel random at all. Its chance of survival for the first round should be ~80% (if I'm not totally confused about this). It looks like your current implementation (using the comparator) for randomizing peeps with the same score is not very random. I'd say this is completely fine for the narrative part, but depending on how intensively people use the playground it might lead to unexpected behavior here and there. Interested in a pull request to fix this?
For anyone who's interested, the problem of array shuffling has been nicely visualized by Mike Bostock: https://bost.ocks.org/mike/shuffle/compare.html
from trust.
from trust.
I've noticed similar things happening all over the place when the randomness is involved. E.g., when you tweak the level of miscommunication, between 8% and 11%, it's possible for either copycats, copykitten, or cheaters to win.
from trust.
Related Issues (20)
- Finnish translation HOT 2
- Serbian translation
- Armenian Translation
- Kazakh translation
- Macedonian HOT 1
- Tagalog translation started again HOT 18
- Japanese translation incomplete
- Belarusian translation
- Underian
- Some translations have layout issues (i.e., Spanish)
- Turkmen translation started
- [Not Issue] Offline Kiosk Version [En]
- norwegian translation
- Tamil Translation
- Amharic Translation
- Some alt text not translated to Thai
- Fresh Hebrew Translation HOT 4
- Possibility to change speed.
- Code Overview
- Miscalculations for subtotal scores HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trust.