Open AidanRosen opened 3 years ago
Aidan's Stuff (Github profile link: https://github.com/AidanRosen)
Connect to AWS <-- Completed (unable to show in code because it used a plug in rather than an actual Java file) Picture of AWS toolkit linked: https://drive.google.com/file/d/1jLlJqM5FdxbBwimtBM56QrSoV6sGrhFT/view?usp=sharing
DEFUNCT: Pass URLs in the .txt file to AWS
DEFUNCT: Recreate .txt file from AWS
Create buttons based on content within .txt file (i.e name of video + URL)
Link is to model, which sets up the array list of the URLs. The arrayList is iterated with this control accessor: https://github.com/Siddhant8/p1coconuts1/blob/c78e38f942b977457053c9516b61e4a57f435ab8/src/ui/JukeBoxControl.java#L2
Relies on using an ArrayList of the Cassette class, which inherits from button to create customized button objects
Add a button that says "create cassettes" to create the buttons COMPLETE
Need to build the cassettes using an array built from the array of txt file lines <--- COMPLETE, as said above
Use a cassette class to create multiple objects and add to jukebox ui <-- COMPLETE
Code link to Cassette class, which extends (inheritance) of JButton: https://github.com/Siddhant8/p1coconuts1/blob/c78e38f942b977457053c9516b61e4a57f435ab8/src/ui/Cassette.java#L9
NOTE: we need a custom class so that I can make an array of customized buttons ("Cassettes")
Fixed "done" animation to work properly using timers and events. "Create Cassettes" button uses events:
Code link to fixed timer: https://github.com/Siddhant8/p1coconuts1/blob/c78e38f942b977457053c9516b61e4a57f435ab8/src/ui/JukeBoxUI.java#L94
Code link to fixed event (mouse listener) that triggers the timer: https://github.com/Siddhant8/p1coconuts1/blob/c78e38f942b977457053c9516b61e4a57f435ab8/src/ui/JukeBoxUI.java#L168
Notes for next week: Fix any bugs from "done" animation being overwritten too much or something (Cassettes appear in box layout format)
Cassette buttons have picture of cassette <-- bug to fix with flow layout (do later, JFrame not a priority)
Cassette's text is the name of the youtube video <-- Do next week
clear dead stuff
Siddhant Ranka's Work For the Week: Created an event-based coronavirus calculator that takes a given input of the number of people total, the number of people wearing masks, the initial number of cases before day 1 of the outbreak, and the day number since the initial outbreak. These inputs are used to calculate the number of coronavirus cases, which are stored to a file. If the number of cases hits the population number, then the file will add "Everyone has Coronavirus. Stay at Home Order." every time a new case is calculated that equals the population number. The coronavirus tracker codes are written in the PracticeModel.java file, PracticeControl.java file, and the PracticeUI.java file:
Andrew Hale's work for the week: Finalized React Router to get it working. Created snake game to play on site. Hosted website using Netlify. Bug fixes for hosted website. https://p1coconuts-teashop.netlify.app/ Link to git repository Git repository must be separate because Netlify pulls all code from a git repository and must be in React.
The issue list for week of 1/11 assignment containing personal cards/tickets that represent our work and code.