The goal of this program is to tell a heart (♥) apart from a diamond (♦). You can draw one to add to its memory, or test the program by drawing one and seeing if it can guess! You can also see it try to make its own shape, by compiling the data together. Have a happy Valentine's Day! ♥♦♥♦♥ Use the "Draw" buttons to draw a big "♥" or "♦" shape in the box on-screen, which the project will add to its database. I've already added 20 drawings of each shape. Remember, you have to draw the shape in one stroke. Use the "Collect" buttons to see a drawing that averages all previous drawings together. Use the "Delete" buttons to delete all data for the respective shape. Use the "Test" to draw a shape, and the program will try to guess if it is a heart or a diamond.
Random sidenote, guys, but Google made this doodle game for Valentine's Day, and it's the most amazing thing I've ever played on a computer! If it's not on google.com anymore by the time you're reading this, you can find it archived here: https://www.google.com/doodles/valentines-day-2017-day-4 Be aware though! This game may not work on all browsers. Chrome worked perfectly fine, but Firefox had issues. ♦♥♦♥♦ I'm not that great at explaining it, but: The basic idea of how this program works is that the box where you draw a shape has a hidden 9x9 grid of squares mapped to it, and each keeps track of how many times a heart or diamond has overlapped it. When you test the program, it checks the two tables (the data for ♥'s, and the data for ♦'s), and awards points to the two options based on how often each grid space was or wasn't drawn over. Whether "♥ Score" or "♦ Score" wins will decide what the program will see the shape as. Extra Notes -This project was initially intended to go on a bigger scale and use Cloud Data, but then I found out you can't make Cloud data lists. -I'm sorry if the title is a little clickbaity, but I was trying to keep this connected to Valentine's Day. -Feel free to remix this! You could try replacing the hearts and diamonds with two new shapes (which is why I included the Delete buttons) for your own remix.