Thread: Making tetris
View Single Post
Old May 11th, 2006, 3:47 PM   #12
Eric the Red
Hobbyist Programmer
 
Eric the Red's Avatar
 
Join Date: Feb 2006
Posts: 214
Rep Power: 0 Eric the Red is an unknown quantity at this point
Quote:
Originally Posted by lectricpharaoh
I did one in C++ (Win32, using DevC++) several semesters ago for a C++ class, and later ported it to Java for a Java class. The C++ version is actually a console program (uses the so-called 'extended ASCII' block-drawing characters), while the Java one is graphical. In order to port the code, I had to change lots of little things to compensate for minor differences in syntax and language, and of course the drawing routines had to be totally rewritten. Still, it was an interesting exercise, and if you'd care to see the C++ source, I can put it on the net and post a link.
Yes please!
__________________
Death smiles at us all. All a man can do is smile back.
Eric the Red is offline   Reply With Quote