Welcome to MSDN Blogs Sign in | Join | Help

Computer Science Teacher - Thoughts and Information from Alfred Thompson

Alfred Thompson's blog about teaching computer science at the K-12 level. Alfred was a high school computer science teacher for 8 years. He has also taught grades K-8 as a computer specialist. He has written several textbooks and project books for teaching Visual Basic in high school and middle school. Alfred is the K-12 Computer Science Academic Relations Manager for Microsoft and is trying to be the Microsoft Education Blogger.

Syndication

News


Featured in Education.AllTop.com



TwitterCounter for @alfredtwo




Tetris for Small Basic

Talk about a great sample of the week – the Small Basic blog announces a version of the classic Tetris written in Small Basic. At a little over 500 lines of code (530ish) its a pretty cool and yet manageable game program. If you were thinking of writing a version of Tetris of your own in any language this may be one you want to look at for ideas. The code is all there. And if you were not sure how for the simplicity of Small basic could take you (or students) this may impress you. It did me.

I’d love to hear what others think about this program and/or what they were inspired to do themselves after viewing it. And if nothing else, Tetris is always a great way to kill time until vacation ends. :-)

Oh and make sure you have the latest 0.2  version of Small Basic (feature information here.)

Published Tuesday, December 30, 2008 5:21 AM by Alfred Thompson

Comments

# re: Tetris for Small Basic @ Monday, January 05, 2009 9:36 PM

Gee, thanks for the compliment.  Using Small Basic, I felt like I was back in the 80s with my Atari.  I wrote this Tetris game Christmas day.  Yes, it's very simple, but it's fairly complete.

It wasn't until a few days later while I was playing the game, and my son interrupted me when I realized I forgot a feature -- "Pause".  Oh well.  Live and learn.

-- Kenny Kasajian

Kenneth Kasajian

New Comments to this post are disabled
Page view tracker