Programming

Image Editor: XML Parsing and Vector Graphics

This program is a vector graphic generator. It has different components that can work together similar to a simple graphics editing program. A few portions of code were provided by the instructor. However, most of the implementation was written by me.

  • Reads an XML file that contains scenes, layers, and vector graphic data using a cartesian coordinate system and stores it for later use
  • Draws out points to a canvas based on the data from the XML file
  • Allows the ability to invert the colors of the image or increase the brightness of the image by any amount.
  • Saves any changes back out to XML format or in Windows bitmap file format

Code and Docs
Screenshots

Example XML input fed into the program.

Example Windows bitmap output from the program.

Pyroach: Game Logic

I wrote the C++ code for Pyroach, a game that applies object-oriented programming. Run in a console window, the game features ASCII characters to represent game pieces and the board. A player uses a simple one-letter command line interface to direct the character around the grid. The objective is to catch the cockroach before running out of food. This is made difficult because the player must light a match to see objects in each square and the surrounding squares.

Code
Screenshots

The start of the game shows a concealed map.

The player lights a match and a small portion of the map is revealed.

The player picks up food and matches and sees the teleporter to their right.

The player picks up food and matches and sees the cockroach to their right.

The player wins the game by landing on the same square as the cockroach.

Skills Demonstrated

  • Developed enemy artificial intellegence movement and action system
  • Created automated test cases to detect problems with the build
  • Implemented a simultaneous turn-based system
  • Wrote well commented and human-readable code