About the Project

Sortilegist was created for the One Prompt Challenge during the bolt.new hackathon, where the goal was to build an agentic AI project and explain all new game mechanics within a single prompt.

🎴 Inspiration

The game draws heavy inspiration from Balatro and Blackjack, combining the elegance of classic card play with the creativity of mathematical strategy. We wanted to push the boundaries of what a card game could be—turning arithmetic into an expressive mechanic where each move feels like a spell.

🧠 What We Learned

We explored how agentic AI can interpret and implement complex game logic purely from natural language prompts. It taught us how to translate human gameplay intentions—like dragging one card over another to exponentiate—into deterministic, programmable actions.

🛠️ How We Built It

Using bolt.new, we defined the game’s rules, UI logic, and turn-based system in one detailed prompt. The project handles:

  • Real-time expression evaluation
  • Drag-and-drop exponentiation
  • AI opponent logic
  • Dynamic scoring and difficulty scaling

🚧 Challenges Faced

The hardest part was designing a clean and intuitive way to express player-built expressions . Implementing exponentiation via drag-and-drop and enforcing the correct order of operations also required careful prompting and UI feedback.

Built With

Share this project:

Updates