Tuesday, January 8, 2008

Tetris.TXT

Five weeks into the semester, I thought it would be cool to show my Flash ActionScript students how much can be done using only what we had learn up to then (variables, Arrays, if...else and for loops) and a Text Field. So I built this bare bone tetris game, where all the graphics are drawn by populating a text field with String characters. This may just be the most efficient way to to overwhelm a group of design students, but I still figured there are some geeks out there who appreciate a Flash tetris game that doesn't use any MovieClips.

- Left, right and down arrow keys move the shape
- Z and X rotate the shape

Download source file


Labels:

0 Comments:

Post a Comment

<< Home