-
Notifications
You must be signed in to change notification settings - Fork 0
JaredsWebApplications/Ballon-Juice
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Algorithm Engineering - CPSC 335 Balloon Juice (Project 3) Team Jurrito Jared Dyreson: jareddyreson@csu.fullerton.edu Mason Godfrey: mgodfrey@csu.fullerton.edu Introduction ============ This project focuses on a mission reconnaissance visualizer, showing a bot retrieve a balloon in a deeply nested balloon field. The mission is to traverse from balloon to balloon, leaving markers of where it has been in the process. Our bot has a very simple set of instructions and rules it must adhere to. Those are as follows: 1. The bot must move forward once and cannot repeat such action after the fact. That path is considered dead. 2. The bot can go backwards and follows the same principle as the rule above. 3. Teleportation is not permitted 4. The bot will finally show it's path taken in reverse order, making it's way back to the initial balloon. In this project, we have the balloon field initialized to an V times V adjacency matrix, where $V$ is defined as the number of balloons occupying the field (here we have 40). Floyd-Warshall Algorithm ------------------------ The algorithm will find the shortest path given a matrix with weighted edges, where the connection spanning from $u \rightarrow v$ signifies an edge or connection. These edge values are then used to find the lengths of said shortest path. By design, the algorithm does not attempt to reconstruct the path but in our rendition it does. The average running time of this algorithm is theta(|V^3|). Archive Contents ================ documentation ------------- - exported/Balloon-Juice.pdf | PDF rendition of our documentation - Balloon-Juice.tex | LaTeX version of our documentation root ---- - Display.js - All drawing functionality that is conducted by p5 - index.html - webpage to display all the drawing - README.txt | this document - RuntimeAnalysis.txt | running time analysis of our project runtime ------- - assets/p5.js | this file is considered an import and has been given by Professor Siska - backend/Bot.js | contains logic for the bot that traverses the balloon field (remove randomGenerator) - backend/GenPoint.js | randomly generates balloons in the balloon field, ensuring they have proper DPV values - graphics/Balloon.js | a balloon and balloon field class implementation that controls the graphical movement of the balloons - graphics/Cell.js | a graphical representation of the balloons that get displayed onto the screen - graphics/DPV.js | helps control the logic behind the generation of balloons Installation and Running ======================== 1. Extract the .zip file into a folder 2. Navigate to the index.html file within the folder. Right-click on the file and select "Open". The p5 program should start immediately. A field of balloons should appear and the algorithm should start displaying the path taken. Known Bugs ========== Currently there are no known bugs to exist nor undesired program outcomes. However, we were not able to complete the table visualization of our Floyd-Warshal algorithm as there were several overlapping bugs and no time to address. Therefore we have printed the entire traversal through the console and can be examined there. Testing ======= The team has not experience any warnings or ill side effects from running Balloon-Juice. Credits ======= **Jared:** 1. [Floyd-Warshall Algorithm](https://en.wikipedia.org/wiki/Floyd-Warshall_algorithm)
About
This project focuses on a mission reconnaissance visualizer, showing a bot retrieve a balloon in a deeply nested balloon field