Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • About
  • Cards
  • Rate Tips
  • Tip Sheets

Have students create a game of Tetris in Java to work on object-oriented programming and decomposing complex programs.

Share Have students create a game of Tetris in Java to work on object-oriented programming and decomposing complex programs. with FacebookShare Have students create a game of Tetris in Java to work on object-oriented programming and decomposing complex programs. with Twitter
Like(1908 Likes)
  • Students create and test Piece and Board classes separately to build the Tetris game.
    • To make this project more challenging, students can also create a Brain class, which allows the computer to use AI to play the game itself or sabotage the player by choosing inconvenient Tetris pieces.
  • For helpful files and more instructions, check out the Stanford Tetris Project.

More about this tip

Tags

  • Java
  • CS 1
  • Intro Programming
  • Development Methods
External Source

Stanford Tetris Project by Nick Parlante.

Other Tips By
Other Tips By Nick Parlante

Similar tips

Integrate readings from the Blown-To-Bits book and related writing prompts into your introductory CS curriculum to engage students critical thinking skills on tech and current events.
Have students implement a rotating substitution cipher in Java that encrypts and decrypts strings in an assignment that gives them practice manipulating strings in a real-world context.
Have students find the best method of sorting a group of unknown weights to teach them about sorting algorithms.
  • 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