Files
Gemini_Bardak_Oyunu/README.md
T
2026-07-25 08:14:02 +02:00

51 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 👀 Gemini_Bardak_Oyunu Overview
<h1 align="center">AI based 28 Questions Game</h1>
[![Gemini_Bardak_Oyunu Demo Video]({}/demo-thumbnail.png)]({}/gemini_bardak-1.mp4)
## 🚀 Features
<h1 align="center">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.<br><br>•It's powered by Google Gemini<br>•It does not give the same answer<br>•It generates new questions based on the answer we provide to its previous guess<br>•It displays sentences that don't fit on the screen by scrolling them with a 'Marquee Effect'</h1>
## 🔎 Preparation
<details>
<summary>1. Components</summary>
'1' ESP-8266 0.96 inch oled development board<br>
'3' Button
</details>
2. `Find your wifi's name and password`
3. `Go to the`[`Google AI Studio`](https://aistudio.google.com/app/api-keys)`and create your own api key`
> **Not Required:**Go to the[`Google AI Studio`](https://aistudio.google.com/app/api-keys)>F12>Network>F5>Click on any request>Security>Copy the SHA-1 fingerprint
## 📦 Setup
1. `Refer to the circuit diagram`
2. `Install the 'Arduino IDE' software and open 'gemini_bardak.ino' file`
3. `Paste your wifi, api and fingerprint inf.`
4. `File>Preferences>Additional Boards Manager URLs:(Click the double window button)`
>Paste this code
```bash
http://arduino.esp8266.com/stable/package_esp8266com_index.json
```
5. `Click 'OK'`
6. `Tools>Board>Boards Manager...`
7. `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.
8. `Plug the ESP8266 into your computer`
9. `Tools>Port>'Select the esp8266's port'`
10. `Tools>Manage Libraries...>Install the libraries used in the code`
11. `Click 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 didnt integrate it into the project due to I2C conflicts).
## 🎉 Run
`Press the reset button on the esp8266`
## 🔒 License
<h1 align="center">📜 GPL-3.0 License</h1>