Projects
Slated for a July 2008 release, Shit Boots is my first attempt at creating a game. A twist on traditional card games, reviews so far have been encouraging.
Source Code
I have put some source code online demonstrating some examples of various Cocoa techniques. There is also some code available for Javascript. There are always more examples by choosing the “Code” category and viewing all the posts there, but here are some specific files you can open and read through.
MB Stepper TextField
I created this as a subclass of NSTextField so that when the user uses the up/down arrows while in the field, the int number will increment/decrement accordingly. The field grabs the upper and lower bounds for cycling through from the NSStepper, so you have to hook this up to one of those for great functionality, or tweak it a bit on your own to use without. This comes with a small example application as well.
MB Swap Linked Images
I created this because I wasn’t able to find any well written solutions available online. Basically, you call a function LoadImages(directory_name) on page load in your HTML document and this set of Javascript functions will load your images into three containers (left, middle, and right). Each image has it’s own corresponding link, and the images each rotate out 9 seconds, 3 seconds apart from one another. You would most certainly have to adapt this code to your needs, but it’s clean with decent documentation and you’re free to ask me questions. It’s used on the site for the swapping big banner images near the top of every page.
Winner Generator
This is a short C program that I created to determine the winner of a contest I had here on the website. A great working example of how to use a random number generator.
Playlist Generator
This is the hardest program I’ve had to code to date and makes extensive ues of recursion, red-black trees, doubly-linked lists and more. Heavily documented and includes the original program description/prompt so you can write your own if you wish. Sample input files included. Read more about this code from this post.

Chat via AIM


