On this page you will find some of my programming samples and pages I have made over the years. These include things from old dos 6.22 based C programming, to newer C#, and PHP/SQL webpages. The C# programs will require at least .NET 3.0, if the programs won't run you will need .NET 4.0 as well.
C/C++
This is a text based game I made based off of World of Warcraft. One of those "can I replicate what I see" type of projects. I started out doing this in a Borland Turbo C++ 3.0 compiler on my old Pentium Pro 200 DOS box back in 2006, and eventually ported it over to a newer Visual Studio 2010 project. I had to recreate several functions that were missing in Visual Studio 2010 that were present in Turbo C++ 3.0, so that was a fun learning experience. (Gotoxy, Textcolor, Clrscr, Showcursor, and Hidecursor)C#
I made this to learn how to make an SQL connection to a database using C#. You can select between a remote SQL database on any ip/dns and port combination, or from a local SQL database (*.MDF). You can also specify the database name, table, userid, and password. Right now it only returns the first three columns for each entry, but thats easy to expand. I'm going to work on allowing an update/change and probably a delete/drop and an insert. I might just keep this program as a "connection checker" though for testing purposes.Basal Metabolic Rate Calculator
This is a tool I made for caclulating calorie intake based on weight/age/height/sex/activity levels. This was a good lessson in C# forms and objects as well as some complicated math with the formluas to calculate everything.Basal Metabolic Rate Calculator Download
This is a converter I made after learning about binary to decimal and hex conversions in my C++ class at school. Fairly self explanatory. It doesn't handle signed binary numbers at the moment, but I'll update it later once I figure out how to do all of that in C#. This is another one of those "how do they do that" type of programs. I wanted to figure out how game companies generated and validated serial keys for games. I learned how to send the value of a button to a function, for generating lists of codes with 1 function, but from 5 different buttons. Learned how to work with arrays of specified values to generate the code, and how to validate it off the same array. Future use will be in a game I'm going to design. Serial codes will be one time use to enable the account from a database of all the numbers I generate, and then be deactivated once the account is setup.This was a program I made for a friend who was getting into Baccarat, he wanted something that would take an amount of money and an amount of "flips", and see how long before he went broke. I added a file output option and five cards that when you click on it generates a random card and shows the picture. Eventually I'd like to figure out how to make it deal an entire hand with no duplicates.
This is another "can i do that" project, I wanted to see if I could replicate the in game talent calculator from World of Warcraft. On this project I learned how to set focus on objects (like the Class box), as well as hover, and mousein and mouseout actions. Also how to change images based on certain events.
If you click the Test button it changes the status text at the bottom as well as the icon next to the button, as well as changing the text when you hover in and out. I also setup an onclick action for the button in the middle to allow you to add up to 5 points into it by left clicking, and reduce by right clicking. This also affects the total points remaining, and has a custom tooltip. Changing the class from the drop down list also changes the background image to match.
WoW Talent Calculator Download
This project was to learn how to use the WebClient() api and read in a datastream with the XML parser. The API that this program accesses on the Blizzard site is being deprecated on August 1st so it won't function after then.
This was a rather large project. The idea was to create a GUI for ImageMagicks command line programs to convert images.
This project became a snowball, as I started I added more and more things. I learned about file dialog boxes, more controls, as well as limiting what can be checked or set for radio boxes or check boxes. There is a registration scheme I created that reads and writes to the registry, and does so on 32bit or 64bit operating systems. The registration key is tied to the systems network card MAC address, and is read using a base64 encoded string. I also created a serial generator that takes the string the user sends to me and then generates a key that I can send back to allow the program to work.
ImageMagick GUI Serial Generator
This is the serial number generator I created for the ImageMagickGUI, it takes the serial from the program (in this case its their network card MAC address) and then when you key it in and hit generate, it spits out the same key but base64 encoded.

ImageMagick GUI Serial Generator Download
PHP / MySQL
This was a page I worked on for personal use, basically lets you add users to a database with stats for each user. Allows you to login (was changing it from a $_GET to a POST method so that the login information isn't visible in the URL, but haven't never got around to finishing it), and then list all the users or foods. The add user, list user, list food, and add food options all work. This was a test using PHP to see if I could validate if an input box, check box, dropdown, or radio box was filled in without using javascript, validate it and if everything went well, send an email to the address that was keyed in and send all of the values there were filled in or checked off to the recipient all using PHP.GameMaker 8
This was my final project for my CS125G class. We had to make a game using GameMaker 8.0. I decided to do a retro top down style action game. You can collect different weapons, theres a hidden cow level, a Portal gun, and all sorts of fun stuff.Disclaimer
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.


















