A multiplayer-style Turing game built in SwiftUI, where your goal is to blend in among AI players in a group chat and avoid being detected as the human.
Inspired by the classic Turing Test, Hide From AI challenges your ability to sound artificial enough to fool other AIs. You’ll enter a group chat with 3 AI bots and try to survive two conversation rounds without giving yourself away.
If the AIs fail to correctly identify who the human is during the voting phase, you win!
This app was developed solely as a learning exercise — a way to become more familiar with Swift, SwiftUI, and the iOS development workflow.
It’s essentially a training ground to explore app building, test ideas, and gain hands-on experience.
Before running the app, create your config file:
cp Config.swift.template Config.swiftEdit Config.swift and insert your Groq API key:
struct Config {
static let groqAPIKey = "your_api_key_here"
}Open the .xcodeproj file in Xcode, then run the app on a simulator or real device.
-
Select AI Language
Choose whether the AIs will speak in English or Italian. -
Join the Chat
Enter a group chat with 3 AI participants. Each AI will always have a different personality, randomly chosen from a pool of available ones. -
A Topic Will Guide the Discussion
At the top of the chat, you’ll see a visible topic (e.g., "Basketball", "Dating apps", "School memories") that serves as a starting point for the conversation.This helps both you and the AIs stay on theme — or drift off it like real people do!
-
Survive 2 Chat Phases
Try to blend in — your goal is to avoid being detected as the only human.
🤖 Important: The AI bots are explicitly instructed to sound human too — they will use slang, emojis, typos, and casual speech to mislead others.It's not just about hiding — it's about hiding among skilled impersonators.
-
Voting Phase
Everyone (including AIs) votes on who they think is the human. -
Win Condition
You win if the AIs fail to detect you as the human.
| Home Screen | Language Settings |
|---|---|
![]() |
![]() |
| Chat Phase | Chat Phase |
|---|---|
![]() |
![]() |
| Win | Lose |
|---|---|
![]() |
![]() |
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0).
This means:
- ✅ You can remix, adapt, and build upon the project non-commercially.
- ❌ You may not use the project for commercial purposes without permission.
- 🔗 You must give appropriate credit and indicate if changes were made.
More info: CC BY-NC 4.0 License





