{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/5c0659417963432a8c8f3205f3542b7d\" frameborder=\"0\" width=\"1920\" height=\"1440\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1440,"width":1920,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1440,"thumbnail_width":1920,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/5c0659417963432a8c8f3205f3542b7d-56b69bf6cafdd227.gif","duration":392.864,"title":"Glitch Game AI Opponent with Binary Search 🎯","description":"In my AI110 final project, I extended my Glitchy Game Investigators app by adding an AI appearance that acts as a competitor to the user. I kept the original guessing game and added difficulty and an AI opponent that uses binary search to solve the age target between 1 and 100. The agent searches about 100 values and typically solves in 7 to 8 guesses, starting at the midpoint like 50, then updating based on too low or too high. I also made the AI independent from the user inputs for reliability. I do not ask viewers to take any specific action."}