Computers answer questions and give directions. They decide who gets organs for transplantation and bail in criminal courts. They serve as companions for elderly and disabled, and they guide autonomous cars and weapons of war. Is it dangerous or immoral to leave all of these decisions to machines? Will computers make morally better decisions than humans do? Can artificial intelligence improve on human moral judgments? Will artificial intelligence systems or robots act in destructive ways? We need to face all of these questions in the near future. The solution is to build morality into computers, but how can we do that? We will see. This class will discuss how artificial intelligence is well on its way to running nearly every aspect of our lives as technology embedded in web enabled devices, algorithms, and the programs that power them make a staggering number of everyday decisions for us.