Adam Sandler starred in a 2015 film about aliens attacking Earth with arcade games. What was the movie title?

Adam Sandler starred in a 2015 film about aliens attacking Earth with arcade games. What was the movie title?