by psykotic · 15y ago · 0 comments
http://gametuto.com/tetris-tutorial-in-c-render-independent/
A C programmer? Yes and yes.
Can you demonstrate this? Or, can you show at least a plausible proof-of-concept?
I haven't tested it. I made sure it compiles and gave it a few looks over. There are likely going to be bugs but fixing them wouldn't lengthen the program.
cat tetris.cpp | sed '/^\s*$/d' | wc -l
162
That's not far off from my 150 estimate including rendering and input code.