Entering my first programming course in college I continued the tradition of ‘Tetris’ as my Hello World to the language.
I suppose 3,000 lines of code was an improvement from my original Flash iteration of 30,000 lines. I would not recommend anyone read the source code.
Source: https://github.com/timkscripts/TetrisCplusplus
With no screen buffering it ends up re-drawing the whole screen in a very choppy manner causing heavy flickering. This lead me to try something better down the road.
- Tetris is copyright to its respective owner