MONTGOMERY — An attorney for Devin Moore, sentenced to death for the killing of two Fayette police officers and a dispatcher, argued that Moore did not get a fair trial because the judge refused to allow expert testimony that he shot the victims because of a violent video game.

Moore’s attorney, Angela L. Setzer, told the Alabama Court of Criminal Appeals in arguments Tuesday that the trial judge erred when he did not allow testimony that Moore lost contact with reality because of his continuous playing of the game Grand Theft Auto. It’s a game where players assume the role of criminals, who sometimes shoot police officers.