Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Have students design a simple game using classes in Python so they realize that even beginners are capable of writing interesting programs.

Share Have students design a simple game using classes in Python so they realize that even beginners are capable of writing interesting programs. with FacebookShare Have students design a simple game using classes in Python so they realize that even beginners are capable of writing interesting programs. with Twitter
  • Students are able to see their progress by playing the game in different stages of implementation.
  • In particular, this assignment helps students build valuable object-oriented programming skills and improve their understanding of inheritance.
    • A great example of such a game is Ants vs SomeBees. Read more details and download starter code at Stanford’s nifty assignment page.

More about this tip

Tags

  • Python
  • CS 1
  • Intro Programming
  • Programming Concepts
  • Meaningful and Relevant Content
External Source
Stanford Nifty Assignment by John DeNero, Tom Magrino, and Eric Tzeng.
Other Tips By
Other Tips By Eric Tzeng
Tom Magrino
Eric Tzeng

Similar tips

Use this list of common coding errors to help students debug.
Use Monopoly, explaining that the game is a class, to demonstrate Java classes and objects in a familiar and interactive way.
Use visual depictions of programmatic concepts, such as recursion, to improve students’ understanding of the concept and reinforce students’ intuition about the concept.
  • CSTT Facebook
  • CSTT Twitter

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Footer Icons by Mohammed Alyousfi. Powered by Drupal.

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College