Presentation on theme: "Java Programming Session 2. Objectives To design a range of different blocks To create the code for these blocks To test that each block rotates correctly."— Presentation transcript:
Fitting Blocks Together Remember that the shapes you make must fit together without leaving gaps Some shapes are more difficult to fit together than others Dont make a shape that will be impossible for the person playing the game
Tasks: Design a piece Modify the code Test the piece rotates well Keep doing this until you have lots of good pieces. Switch to random piece generation and try it out.