Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 302 Bytes

tetris_notes.md

File metadata and controls

8 lines (5 loc) · 302 Bytes

Have class tetris

- parameters: height, width, current piece

- methods: getheight, getwidth, getcurrentpiece, get properties

    - others: get next state, rotation, collision/validity (goes with getting next state), removing rows
    - factors nice to have: holes, num rows removed,