Ethics for robots : how to design a moral algorithm Cover; Half Title; Title Page; Copyright Page; Dedication Page; Table of Contents; Acknowledgments; Introduction; Chapter 1: MORAL PSYCHOLOGY; Moral grammar; Elements of moral grammar; Rules in moral grammar; Moral grammar machines; Chapter summary; Notes; References; Chapter 2: COOPERATION PROBLEMS; The problem of cooperation; Machines playing cooperation games; Morality is cooperation; Chapter summary; Notes; References; Chapter 3: THEORIES; Programming theories; Instrumental values; Rationalizations; Switching into manual mode; Chapter summary; Note; References; Chapter 4: CONTRACTARIANISM