bd9b52f01a143f71cd5ec935f380780ea544120b
👀 Gemini_Bardak_Oyunu Overview
AI based 28 Questions Game
🚀 Features
This is an AI-driven game designed to accurately guess your selection through a process of progressively eliminating options with increasingly specific questions, all based on your responses.
•It's powered by Google Gemini
•It does not give the same answer
•It generates new questions based on the answer we provide to its previous guess
•It displays sentences that don't fit on the screen by scrolling them with a 'Marquee Effect'
🔎 Preparation
1. Components
'1' ESP-8266 0.96 inch oled development board'3' Button
Find your wifi's name and passwordGo to theGoogle AI Studioand create your own api key
**Not Required:**Go to the
Google AI Studio>F12>Network>F5>Click on any request>Security>Copy the SHA-1 fingerprint
📦 Setup
Refer to the circuit diagramInstall the 'Arduino IDE' software and open 'gemini_bardak.ino' filePaste your wifi, api and fingerprint inf.File>Preferences>Additional Boards Manager URLs:(Click the double window button)
Paste this code
http://arduino.esp8266.com/stable/package_esp8266com_index.json
Click 'OK'Tools>Board>Boards Manager...Search 'esp8266' and install it
⚠️ Warning: Make sure you have installed the correct USB driver (CH340, CH341 or CP2102) before connecting the ESP8266 to your computer.
Plug the ESP8266 into your computerTools>Port>'Select the esp8266's port'Tools>Manage Libraries...>Install the libraries used in the codeClick the 'upload ➡️' button
✅ To make sure it has been uploaded successfully, you should see the message 'Done uploading'
⚠️ Developer Note: For those who want to try the project with an external display, it might be more practical to add a feature that detects the player's answers based on the gyroscope's tilt (I didn’t integrate it into the project due to I2C conflicts).
🎉 Run
Press the reset button on the esp8266
🔒 License
📜 GPL-3.0 License
Languages
C++
100%