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:

  1. A custom math logic system that generates solvable but challenging targets.
  2. State management to track used numbers, current score, and game outcomes.
  3. A clean UI built with ScreenTransform, Image, and Text components.
  4. Audio feedback using Audio Components for taps, wins, losses, and draws.
  5. Carefully tuned difficulty to ensure fairness and replayability.

Challenges we ran into

Some of the main challenges were:

  1. Designing math combinations that are hard but always solvable.
  2. Preventing accidental wins caused by random tapping.
  3. Balancing difficulty so the game feels challenging but not frustrating.

Accomplishments that we're proud of

  1. Creating a fully skill-based math game with no luck-based wins.
  2. Successfully implementing an AI opponent that feels fair and logical.
  3. Designing a game that turns math into an engaging challenge.
  4. Building a polished Snap Game that works smoothly across devices.

What we learned

Through building AI vs Brain, we learned:

  1. How to design gameplay systems that reward thinking over speed.
  2. How small changes in math logic can dramatically affect difficulty.
  3. Effective state management in interactive games.
  4. How to balance challenge, fairness, and fun.

What's next for AI vs Brain

Future improvements include:

  1. Timed challenge modes
  2. Daily math puzzles
  3. Leaderboard and competitive scoring
  4. Adaptive difficulty based on player performance
  5. Multiplayer brain-vs-brain challenges

Built With

Share this project:

Updates