Created by: Natalie Hoffmann
Sample scripts that I've done throughout my time in Chico
In this project, I had to create a script that would sort a random vector using four different methods, and record the runtime for each method based on the worst, best, and average cases. All code in Project_1.cpp is written by me.
This project was for creating a script simulating an airport's landings and takeoffs, where one runway prioritized takeoffs and the other prioritized landings. Planes were sorted based on priority using heapsort. Airport Simulation is the full project details. All code files are written by me.
Airport Simulation | AirportDriver.cpp | Heap.h | Heap.cpp | Plane.h | Plane.cpp
This project simulated a car traveling from one point to another on a graph. Some nodes had charging stations, while others didn't. The code was supposed to output the shortest possible distance, if any, from point A to point B using Dijkstra's algorithm. Dijkstra's Algorithm is the full project details. All code files are written by me.
Dijkstra's Algorithm | Project_3.cpp | Node.h | Node.cpp | Graph.h | Graph.cpp
All of these samples come from my most recent project, Seven Seas to Glory.
This is the first time I've ever programmed a saving system for a game.
PlayerData.cs | SaveAndLoad.cs | Saving.cs
These are all scripts I've written related to UI in the game, as well as the player's ship health to show how the health bar is implemented.
SceneSwitch.cs | PauseMenu.cs | PopupUI.cs | HealthBar.cs | Billboard.cs | PlayerShipHealth.cs
These are scripts related to cannonball damage and ship health. The class is called "Ammo Class" because it eventually will be used for different bullet types as well.
AmmoClass.cs | EnemyCannonBall.cs | NormalCannonBall.cs | ExplosiveCannonBall.cs | ShipHealth.cs | FreezingCannonBall.cs | EnemyShipAI.cs
These are scripts that are related to the player directly.