With the rapid development of computer technology and the widespread popularity of the Internet all over the world, human beings have completely changed the original ways to live and work. In the past two decades, the innovative modes of open source codes, represented by open source code software, were a great success. Therefore, this study explored the business mode innovation of open source code software by game theory analysis. According to the results, in modular-structured free software development, the benefits of development significantly increase and are higher than those of free riders. If there are heterogeneous users in the market and their consumption has network externality, manufacturers need to try to maximize profits through the design of research and development models, licensing agreements, and the pricing of products and services by comparing business models of different open source codes.