The Moral Machine website by MIT gives you a series of moral dilemmas an out-of-control self-driving car may face when faced with the option of who to kill when no other option is available. I killed a lot of cats.
We show you moral dilemmas, where a driverless car must choose the lesser of two evils, such as killing two passengers or five pedestrians. As an outside observer, you judge which outcome you think is more acceptable. You can then see how your responses compare with those of other people.