Sample task no 11
Krzysztof Mossakowski
Windows Programming
2005 - Tasks
Cross-sectional task
Tetris
Blocks:
Rules:
size of the board: 12 x 24
using keys:
left and right arrows - move the block
up arrow - rotate the block
down arrow - drop down the block
'+', '-' - change speed of folling blocks
show number of the block in window's title
show message box at the end of the game
Don't let the scene flicker during animation (flickering during resizing is acceptable)