https://github.com/grandmoff100/discriminationgame
Illustrates how very small individual preferences add up to massive societal prejudice.
https://github.com/grandmoff100/discriminationgame
Last synced: 7 months ago
JSON representation
Illustrates how very small individual preferences add up to massive societal prejudice.
- Host: GitHub
- URL: https://github.com/grandmoff100/discriminationgame
- Owner: GrandMoff100
- Created: 2020-12-13T16:13:20.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-13T16:28:24.000Z (almost 5 years ago)
- Last Synced: 2025-01-23T12:15:31.260Z (9 months ago)
- Language: Python
- Homepage:
- Size: 364 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Illustrated Prejudice
This is a fun project inspired by Parable of the Polygons. (You can find it here -> https://ncase.me/polygons/)
It illustrates how small individual prejudices how ever small add up to drastic societal prejudice.

Read the post about Parable of the polygons and try to complete the challenge below.

Try and get the segregation percent as low as possible by setting the condition where a shape wants to move.
```
▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ □ ▼ □ ▼ ▼ □ ▼ ▼
▼ □ □ □ ▼ □ □ □ □ ▼ ▼ □ □ □ ▼ ▼ ▼
□ ▼ □ ▼ ▼ □ ▼ ▼ □ □ ▼ ▼ ▼ ▼ ▼ □ ▼ ▼ ▼ □
□ ▼ □ □ ▼ □ □ ▼ ▼ □ □ □ □ ▼ ▼ ▼ □ □ □
▼ ▼ □ □ ▼ ▼ □ □ ▼ □ □ □ □ □ □ □ ▼ ▼ □
▼ □ ▼ ▼ □ □ □ ▼ ▼ ▼ ▼ □ □ ▼ ▼ ▼ □
▼ ▼ □ ▼ ▼ □ □ □ ▼ □ ▼ ▼ ▼ □ ▼ ▼ □
▼ □ ▼ □ □ □ □ □ □ ▼ ▼ □ ▼ ▼ ▼
▼ ▼ □ □ □ □ □ □ □ □ □ □ ▼ ▼ ▼
▼ □ ▼ ▼ ▼ □ □ □ □ □ ▼ □ □ ▼ ▼ ▼ ▼
▼ ▼ □ □ ▼ □ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼
▼ ▼ □ □ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ □ ▼ □
▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ □ □ ▼ ▼ □ □ □ □
▼ ▼ ▼ ▼ □ ▼ ▼ □ ▼ ▼ ▼ □ ▼ ▼ ▼ □ ▼ ▼ ▼
▼ □ □ □ ▼ ▼ □ □ □ ▼ □ □ □ □ ▼ ▼ ▼
□ □ □ □ □ ▼ ▼ ▼ ▼ □ ▼ □ □ □ □ ▼ ▼ ▼
□ □ □ □ ▼ □ □ □ ▼ □ ▼ ▼ □ ▼ □ □ □ □
□ ▼ □ □ □ ▼ □ ▼ □ ▼ □ □ □ ▼ ▼ □ □ □
▼ ▼ ▼ □ □ □ ▼ ▼ □ □ □ ▼ □ □ ▼ ▼ □ □ □
□ □ ▼ ▼ □ ▼ ▼ ▼ □ □ ▼ ▼ ▼ □ ▼ □ □ □
Segregated: 54%We have reached 100% happiness
Where Shapes want to move if this is not True:
>= 1/3
```Edit the `happiness_condition` variable at the bottom of main.py
Then run main.py with `python main.py` or in your IDEHave fun!