What level of class is it?
If it is an introductory class just be happy that people are there. I know plenty of programmers (including myself) who only got interested in CS because of video games. I then figured out I liked CS and didn't really like making games.