惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
B
Blog
阮一峰的网络日志
阮一峰的网络日志
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
Jina AI
Jina AI
博客园 - 聂微东
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
L
LangChain Blog
M
MIT News - Artificial intelligence
Blog — PlanetScale
Blog — PlanetScale
腾讯CDC
酷 壳 – CoolShell
酷 壳 – CoolShell
Y
Y Combinator Blog
F
Fortinet All Blogs
H
Help Net Security
B
Blog RSS Feed
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Apple Machine Learning Research
Apple Machine Learning Research
S
SegmentFault 最新的问题

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Engineering the Modern Turing Test: Building BotSpot
Harish Kotra · 2026-05-03 · via DEV Community
Cover image for Engineering the Modern Turing Test: Building BotSpot

Harish Kotra (he/him)

In an era where LLMs can wax poetic about existential dread as convincingly as a Victorian poet, how do we actually tell the difference? That’s the question I set out to answer with BotSpot—a minimalist, swipe-based game that pits human intuition against the Gemini 2.0 Flash model.

The Aesthetic: Cyber-Brutalism

I wanted the UI to feel "technical" yet "organic." We used a high-contrast palette of Action Pink (#FF0080) and Acid Green (#00FFC2) against a deep navy background. The cards use a "neubrutalist" shadow—hard borders and sharp offsets—to give a tactile, analog feel to a digital test.

Technical Deep Dive

1. Generating "Human" Content

The hardest part of a Turing Test app isn't the AI—it's getting the AI to simulate being human badly enough (or well enough) to confuse us.

We used Gemini 2.0 Flash for its speed and high reasoning capabilities. The secret sauce is in the Difficulty Strategy:

// Prompt logic snippet
const difficultyStrategy = {
  Hard: 'AI content MUST mimic human flaws like subtle typos, irregular rhythm, slang, or niche references. Avoid typical AI tropes ("tapestry", "delve"). Human content should be abstract.'
};

Enter fullscreen mode Exit fullscreen mode

By explicitly forbidding "AI tropes," we force the model to explore stylistic territories that humans usually occupy.

2. The Swipe Mechanics

User experience is driven by Framer Motion (motion/react). We used useMotionValue and useTransform to map the horizontal displacement (x) of a card to its rotation and the opacity of the "BOT" vs "HUMAN" overlays.

const x = useMotionValue(0);
const rotate = useTransform(x, [-200, 200], [-15, 15]);
const aiOpacity = useTransform(x, [0, -60], [0, 1]);

Enter fullscreen mode Exit fullscreen mode

3. Procedural Audio

No modern game is complete without sound. Instead of loading heavy MP3 assets, I built a procedural audio engine using the Web Audio API. This allows us to generate swishes, correct chimes, and error buzzing on the fly with zero latency.

4. The Feedback Loop

A guess without feedback is just a coin flip. For every piece of content, the AI generates a style_note. This tells the user why something was classified the way it was.

  • Bot Reason: "Classic, simple rhyme scheme often associated with AI instruction-following."

What's Next?

BotSpot is more than a game; it's a living experiment in human perception. As models get better, the "Hard" mode will need to get harder.

How this works

Screenshots

Screenshot 1

Screenshot 2

Screenshot 3

Screenshot 4

Screenshot 5

Screenshot 6

Screenshot 7

Check out the code, fork it, and let me know if you can truly spot the bot: https://www.dailybuild.xyz/project/120-botspot