Inspiration
Getting on your laptop with a task at hand then getting distracted and wasting hours on end.
What it does
This chrome extension tracks the active windows and tabs in order to see if the content on them is productive or not. Using this information it creates a score for each tab, where the average of all the tabs is used in setting up the game. When the average of all the tabs is less than 50 the user loses a life (heart). Once the user loses a three hearts in their chosen time period, the game ends and the user dies. If however, the user remains concentrated and productive for their chosen time period, the user wins the game and gets to track the cumulative time they were focused for.
How we built it
We built this app primarily in JavaScript and HTML.
Challenges we ran into
Integrating Gemini to analyze the tabs the user was on to determine if they were educational or not.
Accomplishments that we're proud of
Using AI to distinguish between productive Youtube, and entertainment Youtube.
What we learned
We learned how to incorporate an AI API and Chrome Extensions API.
What's next for BattleTask
We want to set it up with a serverless setup through Google's services.
Built With
- chrome-extensions-api
- chrome-local-storage
- css
- gemini-api
- html
- javascript
- rest-api
Log in or sign up for Devpost to join the conversation.