Contrary to the dismissive take you sometimes hear, science actually plays a big role in video games. Physics engines rely on mathematics and physics to make objects fall, collide, and move believably. Computer science underpins everything from graphics rendering to the artificial intelligence that drives enemies and allies.
Even the hardware—processors, graphics cards, and displays—exists because of decades of scientific and engineering progress. So while a game might feel like pure entertainment, it's built on a deep foundation of science.