Skip to main content
CS Teaching Tips

Main navigation

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

Have students design a game of Asteroid in Java to introduce developing an object and class hierarchy.

Share Have students design a game of Asteroid in Java to introduce developing an object and class hierarchy. with FacebookShare Have students design a game of Asteroid in Java to introduce developing an object and class hierarchy. with Twitter
  • The repetitive design elements in this project provide a great mechanism for discussing class creation and inheritance.
  • Additionally, students enjoy this assignment because they produce a fun, interactive game that actually looks like the classic arcade one.
  • For the full assignment, visit Stanford’s nifty assignment page.

More about this tip

Tags

  • Java
  • CS 1
  • Intro Programming
  • CS 2
  • Programming Concepts
External Source
Stanford’s Nifty Assignments by Dan Leyzberg and Art Simon
Other Tips By
Other Tips By Art Simon
Art Simon

Similar tips

Have students design a simple game using classes in Python so they realize that even beginners are capable of writing interesting programs.
Have the class make instructions for a Robot class you created that will bring Chipotle back to the classroom to motivate instructions and method sequencing.
Have students create a game of Tetris in Java to work on object-oriented programming and decomposing complex programs.
  • 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