Inspiration
Mancala: Echoes of Strategy was inspired by the elegance of the ancient Mancala sowing mechanic and the idea of transforming a classic board game into a visually modern, fast-thinking puzzle experience. I wanted to take something simple and timeless and reimagine it in a 3D environment where strategy, motion, and design meet.
What it does
The game challenges players to solve Mancala-style puzzles by sowing stones across a 3D board, hitting specific goals within strict move limits. Each puzzle is different—some require clearing the board, others require reducing the total stone count below a target. The game also supports dynamic “AI Challenge” puzzles, where levels can be generated procedurally or via external AI models.
How we built it
The project was built entirely in Replit as a browser-based 3D game.
Three.js powers the 3D board, pits, stones, lighting, and interactions.
JavaScript handles core Mancala logic, puzzle state, win/loss conditions, and sowing mechanics.
HTML/CSS creates the HUD overlay, UI buttons, and menu system.
Replit Agents accelerated development by generating scaffolding, file structures, and iterating on code.
The puzzle system is modular, allowing for both handcrafted and AI-generated levels.
Challenges we ran into
One major challenge was mapping the 12 logical pit indices to precise 3D positions and ensuring the stones updated cleanly after each move. Raycasting click detection had to be tuned to make pit selection intuitive. Balancing puzzle difficulty within move limits while maintaining fairness also required iteration. Additionally, integrating procedural puzzle generation in a way that stayed consistent with Mancala’s mechanics took careful logic design.
Accomplishments that we're proud of
I’m proud of building a fully interactive 3D strategy puzzle game inside a browser environment, complete with real-time sowing mechanics, beautiful neon-style visuals, and modular puzzle logic. The game successfully merges a historical gameplay system with a futuristic presentation—and lays the groundwork for expanding into more complex, AI-driven puzzle experiences.
What we learned
This project reinforced how important it is to separate pure gameplay logic from rendering, making the game more maintainable and extensible. I learned how to use Three.js for interactive board-style experiences, how to manage game state transitions cleanly, and how to blend procedural logic with handcrafted puzzle design. I also learned how powerful Replit Agents can be for rapid prototyping and iteration.
What's next for MANCALA: Echoes of Strategy Puzzle Game
Next steps include adding animations for stone movement, integrating true AI-generated puzzles using LLMs, introducing new goal types, adding difficulty modes, and expanding the game with daily challenges. I also plan to enhance visuals with custom textures, sound effects, and particle effects—ultimately turning it into a polished, fully featured puzzle game ready for mobile and web publishing.
Built With
- agents
- html
- javascript
- replit
- three.js
Log in or sign up for Devpost to join the conversation.