This is a collection of smaller programs I completed during my degree.
Because some of these labs are still used as assignments, my solutions are available on Google Drive through the provided links.
Used: C#, Unity
This was a project for a game design class I took. I created it using Unity’s free assets and by writing scripts using C#. The scripts I wrote are available to view on Google Docs. In this game, you dodge asteroids and shoot them with your ship’s lasers to gain points. Normal asteroids are worth 1 point, and blue asteroids are worth 10. The game ends when your ship hits an asteroid. Note: Unity's WebGL only works on desktop browsers.
Controls: Shoot lasers with the space bar. Move your ship side to side with “a” and “d” or the left and right arrow keys.
Used: C
For this lab, myself and one other student recreated the abilities of the C functions for dynamic memory allocation named malloc, free, and realloc. This lab and the included instructions were written for Linux machines. Information about the lab is included in README.md.
The code we wrote is in the file “mm.c”. I wrote the functions mm_malloc, mm_init, splitBlock, coalesce, prevCoalesce, mm_free, mm_realloc, and some of the inline functions.