Introductory programming courses in computer science aim at building an effective foundation for the development of programming skills. A prudent way to develop these skills is by emphasizing problem solving and logical thinking. This paper proposes a games-based approach, as a way of engaging students and developing these skills. Common mistakes of novice programmers in traditional courses are summarized. Word and number games are used to illustrate the potential benefits of a games-based approach, which minimizes such mistakes.