In the modern age, digital games are widely used as informal media for Science, Technology, Engineering, and Mathematics (STEM) education and medical therapy for game-based learning. Digital games provide learners with a graphical system of interaction that enhances scientific concepts within an enjoyable environment. The vastly increasing number of digital games produced in the market affects the quality of STEM digital games while requiring multidisciplinary expertise. This paper proposes a framework for STEM digital game-based learning encompassing input-process-output stages. Several studies from the early 2000s onward were reviewed to discuss and present a new perspective on a framework for the design and development of digital games, particularly for STEM. This proposed framework consists of digital game development as input, experience as a process, and constructs as output. This simple and precise framework will generate a universal product for various types of learners. It can thus be used as a guideline for game designers, developers, and experts to develop STEM digital games and achieve better learning outcomes.