There are several tried-and-true ways to make a game more engaging. Adding hidden secret areas rewards curiosity and exploration, while optional side quests give players extra content to pursue beyond the main path.
Above all, a strong, well-crafted story ties everything together and keeps players invested. Combine those elements, and you've got a game that's much harder to put down.