Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 551 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 551 Bytes

TDT4258-project-3

Let's get it

Decisions regarding game-logic and -mechanics:

  1. Gravity or suspended blocks. Suspended. Easier and how it is in the classic version.
  2. Random piece-queue generator.
  3. Board- and piece-data representation. (2d Array of board (int 0 for bg, 1-7 for pieces), pieces as chars 'I', 'J', 'L', 'O', 'S', 'Z', 'T')
  4. Represent pieces by single array with coordinates(tuples) from board.
  5. Board size in blocks. Standard is 10x20, with an extra four blocks height to allow for blocs to spawn.
  6. Game mode.