Mandelbrot Graphics Program

This was one of my favorite programs to write. Since I studied heavily in mathematics, this appealed to my interests. As some of you may already know this is based off of the Mandelbrot set, a mathematical set of points on a complex plane that is obtained from the quadratic recurrence equation, a quadratic polynomial whose


coefficients are complex numbers, defined by; Z {n+1}=Z n^2+ C. The sets are based on points, C, in the complex plane for which the orbits of Z {n} do not tend towards infinity. The program also has the ability to allow the user to select a color scheme based off of rgb numerical values from 0-255.

View source code: here

Medieval Fighters

This was another interesting project. This gave me a chance to dive into AI and a chance to develop a game with a GUI. This can be considered a real-time strategy game, but the strategy is implemented in the code. The user is able to choose from easy medium or hard difficulty levels for either team, red or blue. You can also specify the grid size and the number of obstacles. Health indicators is another option available so that you can actively watch a character lose their health in battle.


The real challenge was the AI implementation. Knowing where each player, whether on your team or not, is an important factor. Also I had to account for traversing obstacles, finding the shortest route to an enemy or an ally. Coding the move of each individual based on their location to their allies and their enemies was integral in deciding where to move next. You couldn’t just have each fighter go guns blazing towards the enemy, because the AI for the opponent may have a strategy to gang up on their opponent while maintaining a close proximity to one another. It was a fun and interesting challenge.

View source code: here

Texas Hold ‘Em Simulator

Anyone who is a fan of poker would find this one interesting. I enjoyed it, although my luck at poker night with friends was never above par. There really wasn’t any strategy involved with this program. The idea behind it was to grasp encapsulation and array manipulation through shuffling, and cutting the deck.


The other aspect was to identify what a player held in his hand based on what was showing in their hand and in the river as each card was laid out.

I have been meaning to add a few changes to the program, such as displaying who is the winner instead of having to make that decision visually. Overall, the program functions well and is a good interpretation of how Texas Hold ‘Em is actually played.

View source code: here

Fish Pond

This is more of a simulator as opposed to a game. Although, it shares similarities with Medieval Fighters, the implementation and idea behind the design is different.


This functions as a simple ecosystem that contains plants and fish, large and small.

Plants have the ability to grow periodically unless they are completely consumed before they are able to regenerate. Fully grown plants can re-spawn new plants on adjacent squares. Fish on the other hand die at a slow interval unless they consume a fish that is smaller or a piece of a plant. However, if they consume too much then they split into three medium size fish and the process continues. They also must avoid and traverse obstacles in their path. This continues until the board is absent of fish and has been completely overgrown by plants. Seldom do the fish eat all the plants before dying out, so you are usually left with a green leafy board.

View source code: here

Interest Calculator

This program calculates simple interest and compounded interest over a specified interval of years. The user has the ability to specify the principal amount, the amount of interest and the number of years for the final calculations.


The results are displayed in a text box area showing the annual growth for either interest types or both together giving the user the ability to compare the rate of growth dynamically.

View source code: here


This is a thinking game. Its a puzzle that challenges the player by prompting them for the difficulty. The player sets the length of the word and the number of transformations the word undergoes, by that, I mean the number of times letters in the word are rearranged. jumble_num_let First the player chooses the number of letters they would like to unscramble. Next they choose the number of times there is a transformation (letters rearranged).transformations Then the player must arrange the letters to form the word in the least amount of rearrangements. The game will give hints on which letters are off by coloring the letter yellow. To change the ordering you select a letter, it will change to the color blue, and you select the letter you would like to replace. At this moment, the letters will swap positions. This will continue until the word is solved. jumblesolution

The game will display the number of transformations it should have been completed in and the number of transformations it took the player to solve the puzzle.


View source code: here


more to come ….


Leave a Reply

Your email address will not be published. Required fields are marked *