Spatial ability is important in mathematical education, spatial ability will influence students’ learning on mathematics、science、engineering and English. Besides, the spatial ability also influences children’s activities every day. But previous research in this respect were not studied deeply, especial in the teaching of spatial location implemented in primary school. The purpose of this thesis is developing game-based learning software for spatial based on spatial teaching theory. The activities in the software include the games about training on egocentric orientation system of reference, fixed system of reference and coordinated system of reference. An experimental study was implemented in second-grade primary school for evaluating the software on the learning effects of spatial ability. The experimental results show the software have a good effect on students’ learning and motivation.﹒