Objective To design a virtual educational game of on-the-spot first aid of trauma for medical students and explore the application effect. Methods The Unity3D software was used to create an educational game, which was later used in teaching of on-the-spot first aid of trauma for undergraduate nursing students. In the training program, 426 students were randomized into 3 groups of 142 cases each: the control group received a teaching mode of theory learning plus practice sessions, the experimental group A received a teaching mode of theory learning session plus gameplaying session of on-the-spot first aid of trauma, and experimental group B received all the above-mentioned measures. Results There were significant differences in theory test scores and skill test scores among the 3 groups (all P<0.01). Conclusion The development and application of the educational game of on-the-spot first aid of trauma promotes nursing students′grasp of on-site first aid of trauma, and lays solid foundation for future clinical practice.