Inspiration
The idea for AI vs Brain started with a simple, slightly sarcastic thought: everyone is talking about how smart AI is… but are we really done proving how smart the human brain can be? Most games today reward fast tapping or lucky guesses. I wanted to flip that and build something where thinking actually matters. A game that pauses you for a second and makes you ask, “Wait… what’s the correct move here?”
AI vs Brain is my way of turning that question into a playable experience: Can human logic still beat AI logic?
What it does
AI vs Brain is a skill-based math game where players compete against an AI by solving 8-number mathematical combinations to reach a target score. There are no random wins — success depends entirely on planning and logic.
How we built it
The project was built using Snapchat Lens Studio (Beta) and JavaScript.
Key implementation details include:
- A custom math logic system that generates solvable but challenging targets.
- State management to track used numbers, current score, and game outcomes.
- A clean UI built with ScreenTransform, Image, and Text components.
- Audio feedback using Audio Components for taps, wins, losses, and draws.
- Carefully tuned difficulty to ensure fairness and replayability.
Challenges we ran into
Some of the main challenges were:
- Designing math combinations that are hard but always solvable.
- Preventing accidental wins caused by random tapping.
- Balancing difficulty so the game feels challenging but not frustrating.
Accomplishments that we're proud of
- Creating a fully skill-based math game with no luck-based wins.
- Successfully implementing an AI opponent that feels fair and logical.
- Designing a game that turns math into an engaging challenge.
- Building a polished Snap Game that works smoothly across devices.
What we learned
Through building AI vs Brain, we learned:
- How to design gameplay systems that reward thinking over speed.
- How small changes in math logic can dramatically affect difficulty.
- Effective state management in interactive games.
- How to balance challenge, fairness, and fun.
What's next for AI vs Brain
Future improvements include:
- Timed challenge modes
- Daily math puzzles
- Leaderboard and competitive scoring
- Adaptive difficulty based on player performance
- Multiplayer brain-vs-brain challenges
Built With
- javascript
- lensstudiobeta
- snapchat
Log in or sign up for Devpost to join the conversation.