Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • 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
  • 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

Tell students they have to believe that some things just work before they will understand why it works because they need exposure to a lot of material before some concepts make sense individually.
Have students implement the dice game Flip in Java to introduce unit testing and to give students practice using loops and data structures.
Use technical vocabulary consistently and define terms repeatedly to help students gain competency and fluency speaking in technical terms.

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

Privacy Policy