70 likes | 157 Views
Project 1 – TrendBetter. Brian Kirst. Original Plan. Use Google Trends data and random words Users bet on which search term was more popular Running score based on how much they bet and if they were right or wrong Keep it simple. Google Trends.
E N D
Project 1 – TrendBetter Brian Kirst
Original Plan Use Google Trends data and random words Users bet on which search term was more popular Running score based on how much they bet and if they were right or wrong Keep it simple
Google Trends • Google doesn’t let you use their data unless you are logged in • Not supposed to access it from software • CAPTCHAs • Just used the number of Google search results instead
Random Words watchout4snakes.com Borrowing somebody’s generator Normally would’ve used a dictionary or something similar for speed HTTP Post with drop down parameters
Design Functional Intuitive Solid Ugly
Http Calls • Fetches two random words concurrently • When we have both • Do two Google searches concurrently • App is then started • Tries to stay one step ahead • Fetches and holds next two words and results when the user finishes a round • Mashing the buttons will cause it to wait for all the http responses before updating