In this research, a novel application of game theory in the context of housing construction is presented. In recent years, theory game is widely used in Profit or cost sharing of construction contractors and played an inevitable role in resolving the conflicts of construction projects among its members. Employing various strategies among stakeholders of construction projects caused a widespread use of game theory to solve the problems which are specific to this industry. In details, in first part of the research, the relation between the mass producer and retailer are formulated using concepts of stackelberg game. This model makes it possible for the producer to decide about to produce which structure, where to produce and quantity of production. Such that, by maximizing producer's profit customer's satisfaction increases simultaneously and the housing market boosts by increasing the sales. Also in second part, the conflicts between employer and contractor in a housing construction project is studied. Then, necessary parameters, variables and constraints for formulating the problem as a stackelberg game is obtained by extracting strategies of each of the parties involved in the project. To solve the proposed models, a genetic algorithm is developed by which near optimal solutions can be reached. In other words, by comparing the proposed genetic algorithm with exact method in small size problems, it finds solutions highly close to the optimal one. Therefore, the performance of genetic algorithm is acceptable.