« The Passion of the Lion | Main | Flickr »
January 05, 2006
Russian Solitaire
Fall 2005 semester I took a computer graphics and gaming class. It was an intro class intended for non-computer science majors, but it was a programming class none-the-less. First we learned about computer graphics in the general and then started building games in Flash.
The graphics stuff was the basic bitmapped versus vector information which I was already familiar with. Bitmaps are pixel-based pictures like a photo. Vector graphics are defined by shapes and lines like a bar graph or line drawing. Obviously there's more complexity to it than that.
The meat of the class, however, was learning ActionScript to write simple games in Flash. This experience was much like cooking a full thanksgiving meal without oven mitts. Sure, you can get a lot done, but damn, it hurts. There is very little error checking. There is very little standards adherance (of any kind). There is a debugger which is only slightly more enjoyable to use than a chainsaw on your own limbs. And there is only so much vitriol I can contain for Flash as a programming platform without needing to curl up under my desk in the fetal position and whimpering softly for an hour.
Having gotten the ugly out of the way, there are a couple of success stories. Each assignment was completed and my final project was actually almost entirely successful! I wrote a version of solitaire (patience) based on what I understand are Russian rules. It's a tough game where one in fifty games won is normal. There are rules on the intro page, so without further ado, here's my implementation of Russian Solitaire in Flash. I highly recommend you maximize your browser window to get a better view of the cards, and yes, I know they're not fancy.
Posted at January 5, 2006 03:51 PM | Gaming/Roleplaying
Comments
Post a comment
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)