diff --git a/README.md b/README.md
index 3945c152..fcc25b48 100755
--- a/README.md
+++ b/README.md
@@ -1,93 +1,29 @@
Assignment 2 - Short Stack: Basic Two-tier Web Application using HTML/CSS/JS and Node.js
===
-Due: September 16th, by 11:59 PM.
+Abhijay Thammana 9/16/20
+https://athammana-a2-athammana-1.glitch.me/
-This assignment aims to introduce you to the concepts and practice involved in creating a prototype (i.e. not deployment ready) two-tiered web application. The baseline aims of this assignment involve creating an application that demonstrates the use of several specific pieces of HTML, CSS, JavaScript, and Node.js functionality.
+--------------------------------------------------------------------------------------------------------------------------
-Baseline Requirements
----
+## Unscrmbl
+So I kind of went overboard with this project, because I was bored this week, so sorry to whoever has to go through all the code. Basically the game is to just unscramble the word in large font and type the correct one in the input box below. With each wrong answer, nothing happens. Which each correct answer the score (stored in the server) increments and the word to scramble is pulled from the server. If the player is stuck they can use the Cheats button to get each letter starting from the first one. Or the 'answerkey()' function in the console. Once the player is satisfied with their score, they can type their name for the leaderboard in the top right (or not) and then click end game. The score will then be stored in the server, and then the game updates the top 5 scores from the leaderboard and places them sorted. There is also a delete everything button to delete all entries. For the basic CSS positioning, there is a left block and a center block that both have the display flex property. Essentially almost everything inside of them are centered with justify-content and align-content. The flex wrap and flex direction column are also applied to each of the blocks.
-Note that there is a very large range of application areas and possibilities that meet these baseline requirements. Make your application do something useful! A todo list, storing / retrieving high scores for a very simple game, have a little fun with it.
-
-Your application is required to implement the following functionalities:
-
-- a `Server` which not only serves files, but also maintains a tabular dataset with 3 or more fields related to your application
-- a `Results` functionality which shows the entire dataset residing in the server's memory
-- a `Form/Entry` functionality which allows a user to add, modify, or delete data items residing in the server's memory
-- a `Server Logic` which, upon receiving new or modified "incoming" data, includes and uses a function that adds at least one additional derived field to this incoming data before integrating it with the existing dataset
-- the `Derived field` for a new row of data must be computed based on fields already existing in the row. For example, a `todo` dataset with `task`, `priority`, and `creation_date` may generate a new field `deadline` by looking at `creation_date` and `priority`
-
-Your application is required to demonstrate the use of the following concepts:
-
-HTML:
-- One or more [HTML Forms](https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms), with any combination of form tags appropriate for the user input portion of the application
-- A results page displaying all data currently available on the server. You will most likely use a `
` tag for this, but `
` could also work and might be simpler to work with.
-- All pages should [validate](https://validator.w3.org)
-
-CSS:
-- CSS styling of the primary visual elements in the application
-- Various CSS Selector functionality must be demonstrated:
- - Element selectors
- - ID selectors
- - Class selectors
-- CSS positioning and styling of the primary visual elements in the application:
- - Use of either a CSS grid or flexbox for layout
- - Rules defining fonts for all text used; no default fonts! Be sure to use a web safe font or a font from a web service like [Google Fonts](http://fonts.google.com/)
-
-- CSS defined in a maintainable, readable form, in external stylesheets
-
-JavaScript:
-- At minimum, a small amount of front-end JavaScript to get / fetch data from the server; a sample is provided in this repository.
-
-Node.js:
-- An HTTP Server that delivers all necessary files and data for the application. A starting point is provided in this repository.
-
-Deliverables
----
-
-Do the following to complete this assignment and acheive a base grade of 85%:
-
-1. Fork the starting project code (make sure to fork the 2020 repo!). This repo contains some starter code that may be used or discarded as needed.
-2. Implement your project with the above requirements.
-3. Test your project to make sure that when someone goes to your main page, it displays correctly.
-4. Deploy your project to Glitch, and fill in the appropriate fields in your package.json file.
-5. Ensure that your project has the proper naming scheme `a2-yourname` so we can find it.
-6. Modify the README to the specifications below.
-7. Create and submit a Pull Request to the original repo. Label the pull request as follows: a2-gitusername-firstname-lastname
-
-Acheivements
----
-
-Below are suggested technical and design achievements. You can use these to help boost your grade up to an A and customize the assignment to your personal interests. These are recommended acheivements, but feel free to create/implement your own... just make sure you thoroughly describe what you did in your README and why it was challenging. ALL ACHIEVEMENTS MUST BE DESCRIBED IN YOUR README IN ORDER TO GET CREDIT FOR THEM.
-
-*Technical*
-- (10 points) Create a single-page app that both provides a form for users to submit data and always shows the current state of the server-side data. To put it another way, when the user submits data, the server should respond sending back the updated data (including the derived field calculated on the server) and the client should then update its data display.
-
-*Design/UX*
-- (5 points per person, with a max of 10 points) Test your user interface with other students in the class. Define a specific task for them to complete (ideally something short that takes <10 minutes), and then use the [think-aloud protocol](https://en.wikipedia.org/wiki/Think_aloud_protocol) to obtain feedback on your design (talk-aloud is also find). Important considerations when designing your study:
-
-1. Make sure you start the study by clearly stating the task that you expect your user to accomplish.
-2. You shouldn't provide any verbal instructions on how to use your interface / accomplish the task you give them. Make sure that your interface is clear enough that users can figure it out without any instruction, or provide text instructions from within the interface itself.
-3. If users get stuck to the point where they give up, you can then provde instruction so that the study can continue, but make sure to discuss this in your README. You won't lose any points for this... all feedback is good feedback!
-
-You'll need to use sometype of collaborative software that will enable you both to see the test subject's screen and listen to their voice as they describe their thoughts. After completing each study, briefly (one to two sentences for each question) address the following in your README:
+## Technical Achievements
+- **Tech Achievement 1**: For the Technical Achievement, the project manipulates the server data in multiple ways. There are a variety of post and get urls on the server that have different purposes in the application. First the Get urls: '/currentWord' returns the scrambled version of the current server word as a response; '/getCurrScore' returns the current score that is being kept track of by the server; '/getScores' returns all the current scores in a JSON array format; and lastly, '/deleteEverything' resets the current word, current score, and list of scores on the server to empty. The Post urls: '/guess' takes in a string as data from the request and compares it to the current word on the server and returns in plaintext true or false whether its correct or not and increments the current score if correct; '/newScore' takes in a json from the request data, adds the derived field of a rating, and adds it to the server's score list; '/hint' takes in a number from the request data field, and then responds with the corresponding character from the server's current word. All of these together complete the achievement of changing the database in the three different ways (Add, Modify, Delete).
-1. Provide the last name of each student you conduct the evaluation with.
-2. What problems did the user have with your design?
-3. What comments did they make that surprised you?
-4. What would you change about the interface based on their feedback?
+## Design/Evaluation Achievements
+- **Design Achievement 1**:
-*You do not need to actually make changes based on their feedback*. This acheivement is designed to help gain experience testing user interfaces. If you run two user studies, you should answer two sets of questions.
+1. Patel
+2. Just didn't notice the leaderboard name right away since it was tucked in the corner, but other than everything was clear
+3. The background could be distracting and said there was a decent amount of whitespace
+4. Make the leaderboard side a bit bigger, and maybe move the background blobs to be smaller and more central
-Sample Readme (delete the above when you're ready to submit, and modify the below so with your links and descriptions)
----
+- **Design Achievement 2**:
-## Your Web Application Title
-Include a very brief summary of your project here. Be sure to include the CSS positioning technique you used, and any required instructions to use your application.
+1. Abouaf
+2. The buttons should be under the text field because they have to do with the text while the delete everything does not, also delete everything should be a different color or pop out more
+3. The button placement, because I didn't even consider putting anything else under the text field to keep it minimalistic but it makes so much more sense
+4. Definitely move the cheat and end game button to the center while changing the color of the delete everything
-## Technical Achievements
-- **Tech Achievement 1**: Using a combination of...
-
-### Design/Evaluation Achievements
-- **Design Achievement 1**:
diff --git a/public/css/style.css b/public/css/style.css
index d5f842ab..4d75d5aa 100755
--- a/public/css/style.css
+++ b/public/css/style.css
@@ -1 +1,177 @@
-/*Style your own assignment! This is fun! */
\ No newline at end of file
+body {
+ font-family: 'Roboto', sans-serif;
+ font-size: 3ch;
+ text-align: center;
+
+ background-size: 100vw;
+
+ background-image:
+ url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23FFD6E8' d='M50.4,-52.4C62.9,-37.9,69.1,-18.9,67.8,-1.2C66.6,16.5,58,32.9,45.5,46.9C32.9,60.9,16.5,72.5,-1.5,74C-19.6,75.6,-39.1,67.1,-52.4,53.1C-65.7,39.1,-72.7,19.6,-70.2,2.6C-67.6,-14.5,-55.5,-28.9,-42.2,-43.4C-28.9,-57.9,-14.5,-72.5,2.2,-74.7C18.9,-77,37.9,-66.9,50.4,-52.4Z' transform='translate(350 90)' /%3E%3C/svg%3E"),
+ url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23D0E2FF' d='M50.4,-52.4C62.9,-37.9,69.1,-18.9,67.8,-1.2C66.6,16.5,58,32.9,45.5,46.9C32.9,60.9,16.5,72.5,-1.5,74C-19.6,75.6,-39.1,67.1,-52.4,53.1C-65.7,39.1,-72.7,19.6,-70.2,2.6C-67.6,-14.5,-55.5,-28.9,-42.2,-43.4C-28.9,-57.9,-14.5,-72.5,2.2,-74.7C18.9,-77,37.9,-66.9,50.4,-52.4Z' transform='translate(195 0)' /%3E%3C/svg%3E"),
+ url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23E8DAFF' d='M50.4,-52.4C62.9,-37.9,69.1,-18.9,67.8,-1.2C66.6,16.5,58,32.9,45.5,46.9C32.9,60.9,16.5,72.5,-1.5,74C-19.6,75.6,-39.1,67.1,-52.4,53.1C-65.7,39.1,-72.7,19.6,-70.2,2.6C-67.6,-14.5,-55.5,-28.9,-42.2,-43.4C-28.9,-57.9,-14.5,-72.5,2.2,-74.7C18.9,-77,37.9,-66.9,50.4,-52.4Z' transform='translate(150 200)' /%3E%3C/svg%3E"),
+ url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%239EF0F0' d='M68.5,-21C76.5,2.3,62.2,34.1,39.7,49.2C17.1,64.3,-13.6,62.7,-32.3,48.3C-50.9,33.8,-57.5,6.5,-50.1,-16C-42.7,-38.5,-21.3,-56.3,4.5,-57.7C30.3,-59.2,60.5,-44.3,68.5,-21Z' transform='translate(30 30)' /%3E%3C/svg%3E");
+}
+
+
+.container {
+ display: flex;
+ flex-flow: wrap column;
+ justify-content: center;
+ align-items: center;
+ height: 100vh;
+}
+
+
+#left-block {
+ float: left;
+ width: 20vw;
+ justify-content: flex-start;
+}
+
+#center-block {}
+
+#serverscores {
+ margin: auto;
+}
+
+#scrambled {
+ text-align: center;
+}
+
+#scrambledWord {
+ font-size: 4ch;
+}
+
+.block {
+ display: block;
+}
+
+/* Character By Character Underlines Possible From: ; https://codepen.io/thebabydino/pen/mRrPwB */
+.underlines {
+ display: block;
+ margin: 2em auto;
+ border: none;
+ padding: 0;
+ width: 4.5ch;
+ background: repeating-linear-gradient(to right, dimgrey 0, dimgrey 1ch, transparent 0, transparent 1.5ch) 0 100% / 4ch 2px no-repeat;
+ letter-spacing: 0.5ch;
+ font: 5ch monospace;
+}
+
+.incorrect {
+ color: red;
+}
+
+.underlines:focus {
+ outline: none;
+ color: plum;
+}
+
+.scoreNick {
+ margin: 0.5em auto;
+ font: 3ch monospace;
+}
+
+/* All Material Button CSS Code was possible from this link: https://codepen.io/finnhvman/pen/MQyJxV */
+
+.butt {
+ position: relative;
+ display: inline-block;
+ box-sizing: border-box;
+ border: none;
+ border-radius: 4px;
+ margin: 15px 10px 10px 10px;
+ padding: 0 16px;
+ min-width: 64px;
+ height: 36px;
+ vertical-align: middle;
+ text-align: center;
+ text-overflow: ellipsis;
+ text-transform: uppercase;
+ background-color: #F2F4F8;
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
+ font-family: var(--pure-material-font, "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system);
+ line-height: 36px;
+ overflow: hidden;
+ outline: none;
+ cursor: pointer;
+ transition: box-shadow 0.2s;
+}
+
+.butt::-moz-focus-inner {
+ border: none;
+}
+
+/* Overlay */
+.butt::before {
+ content: "";
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
+ opacity: 0;
+ transition: opacity 0.2s;
+}
+
+/* Ripple */
+.butt::after {
+ content: "";
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ border-radius: 50%;
+ padding: 50%;
+ width: 32px; /* Safari */
+ height: 32px; /* Safari */
+ background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
+ opacity: 0;
+ transform: translate(-50%, -50%) scale(1);
+ transition: opacity 1s, transform 0.5s;
+}
+
+/* Hover, Focus */
+.butt:hover,
+.butt:focus {
+ box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
+}
+
+.butt:hover::before {
+ opacity: 0.08;
+}
+
+.butt:focus::before {
+ opacity: 0.24;
+}
+
+.butt:hover:focus::before {
+ opacity: 0.3;
+}
+
+/* Active */
+.butt:active {
+ box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
+}
+
+.butt:active::after {
+ opacity: 0.32;
+ transform: translate(-50%, -50%) scale(0);
+ transition: transform 0s;
+}
+
+/* Disabled */
+.butt:disabled {
+ color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.38);
+ background-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.12);
+ box-shadow: none;
+ cursor: initial;
+}
+
+.butt:disabled::before {
+ opacity: 0;
+}
+
+.butt:disabled::after {
+ opacity: 0;
+}
\ No newline at end of file
diff --git a/public/index.html b/public/index.html
index c56d620e..bdb2aad4 100755
--- a/public/index.html
+++ b/public/index.html
@@ -3,39 +3,39 @@
CS4241 Assignment 2
+
+
-