Tetris C++ course design