Mobile games have become popular for children and play a vital role in the culture of young people. Games can now be played anytime and anywhere using smartphones, tablets, iPad, and laptops. With the rapid development of electronic devices that provide a foundation to deliver learning through mobile games. The researcher proposed a mobile game-based learning framework to improve the computational thinking skills of students with motivation and cognitive learning outcomes. The framework focuses on the application framework of Unity 3D for designing a game application. Unity3D used to develop video games for web plugins, desktop platforms, consoles, and mobile devices,  The main purpose of this study is to design the framework for the proposed math legends mobile game-based learning to foster computational thinking..