BackgroundInternet-based learning programs provide people with massive health care information and self-help guidelines on improving their health. The advent of Web 2.0 and social networks renders significant flexibility to embedding highly interactive components, such as games, to foster learning processes. The effectiveness of game-based learning on social networks has not yet been fully evaluated.ObjectivesThe aim of this study was to assess the effectiveness of a fully automated, Web-based, social network electronic game on enhancing mental health knowledge and problem-solving skills of young people. We investigated potential motivational constructs directly affecting the learning outcome. Gender differences in learning outcome and motivation were also examined.MethodsA pre/posttest design was used to evaluate the fully automated Web-based intervention. Participants, recruited from a closed online user group, self-assessed their mental health literacy and motivational constructs before and after completing the game within a 3-week period. The electronic game was designed according to cognitive-behavioral approaches. Completers and intent-to-treat analyses, using multiple imputation for missing data, were performed. Regression analysis with backward selection was employed when examining the relationship between knowledge enhancement and motivational constructs.ResultsThe sample included 73 undergraduates (42 females) for completers analysis. The gaming approach was effective in enhancing young people’s mental health literacy (d=0.65). The finding was also consistent with the intent-to-treat analysis, which included 127 undergraduates (75 females). No gender differences were found in learning outcome (P=.97). Intrinsic goal orientation was the primary factor in learning motivation, whereas test anxiety was successfully alleviated in the game setting. No gender differences were found on any learning motivation subscales (P>.10). We also found that participants’ self-efficacy for learning and performance, as well as test anxiety, significantly affected their learning outcomes, whereas other motivational subscales were statistically nonsignificant.ConclusionsElectronic games implemented through social networking sites appear to effectively enhance users’ mental health literacy.