CodingTrain / website-archive

Archive of the Coding Train website (first version)
https://codingtrain.github.io/website-archive/
MIT License
5.72k stars 5.65k forks source link

Coding Challenge-Simulate moral conflict #632

Closed Devarun-goswamii closed 6 years ago

Devarun-goswamii commented 6 years ago

Create an environment where many vehicles compete with each other to reach a fixed target. When a vehicle reaches the target it gets bigger in size. Case 1: If it speeds up, it reaches the target first. Its size increases. Case 2: If it slows down and lets the others reach first,the overall size of the group(including itself) increases. However, this growth is lesser than in the former case. The probability of reaching the target first is random. However,if it chooses option 2, the growth is guaranteed but much slower. So,the vehicle has to decide which option to choose to reach the maximum possible size in a certain time. Interested to see if 'moral conflict' can be simulated, where an entity has to decide between being selfish vs working for the greater good.

ellocofray commented 6 years ago

Something like https://www.investopedia.com/terms/n/nash-equilibrium.asp ?

Devarun-goswamii commented 6 years ago

Yes,it's like the prisoner's dilemma. If this is applied to a random field(using Perlin noise perhaps:refer to https://youtu.be/XXEK3UEDDIg )could this be simulated as shown in the video. download Thanks.

meiamsome commented 6 years ago

Closing for CodingTrain/rainbow-topics#1008, please use that repository for topic suggestions.