Human-computer interaction (HCI) is an area with a wide range of concepts and knowledge. Therefore, a need to innovate in the teaching-learning processes to achieve an effective education arises. This article describes a proposal for teaching HCI through the development of projects that allow students to acquire higher education competencies through the design and evaluation of computer games. Finally, an empirical validation (questionnaires and case study) with 40 undergraduate students (studying their fifth semester of software engineering) was applied at the end of the semester. The results indicated that this teaching method provides the students with the HCI skills (psychology of everyday things, involving users, task-centered system design, models of human behavior, creativity and metaphors, and graphical screen design) and, more importantly, they have a positive perception on the efficacy of the use of videogame design in a higher education course.