Learning morality through gaming