A unique Unity3D puzzle game where players collaborate with an AI companion to solve shape-based puzzles. The game features an innovative Autonomous Companion Character that learns from human interactions and adapts its behavior accordingly.
Play the Game (requires Unity Web Player)
- Intelligent AI Companion: An adaptive AI that learns from player actions and provides strategic assistance
- Multiple Puzzle Types: Various challenges involving shape manipulation
- Interactive Learning: AI learns 4 core actions from the player:
- Merging shapes
- Splitting shapes
- Fountain of Life interaction
- Fountain of Death interaction
- Dynamic Behavior Tree: AI uses sophisticated behavior trees to analyze and solve puzzles
- Multiple Game Scenes: Progressive difficulty across different levels
- Smart Object Interaction: AI can interact with doors, puzzles, and other environmental elements
The AI system is built on a sophisticated behavior tree architecture that:
- Analyzes exit conditions from smart objects
- Generates possible solution paths (up to depth 20)
- Presents up to 10 possible solutions to the player
- Executes autonomous actions and follows player when needed
- Learns from player interactions to improve decision making
- Game Engine: Unity3D
- Scripting: JavaScript/UnityScript, C#
- AI Implementation: Custom behavior tree system
- Core Files: Main AI logic in
AIMemoryScript.js
Assets/
├── Scripts/ # Core game scripts including AI implementation
├── Prefabs/ # Reusable game objects
├── Materials/ # Game materials and textures
└── Scene[0-3].unity # Different game levels
- Unity3D (compatible version)
- Basic understanding of Unity game development
- Clone the repository:
git clone https://github.com/muraliavarma/ShapesAI.git
- Open the project in Unity
- Load Scene0.unity to start from the beginning
- Start with the tutorial level to learn basic mechanics
- Teach the AI companion the four basic actions
- Collaborate with the AI to solve increasingly complex puzzles
- Use the AI's suggestions to find optimal solutions
- Progress through multiple levels with increasing difficulty
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Murali Varma
- Website: murlax.com
- GitHub: @muraliavarma
Special thanks to all contributors and testers who helped shape this unique gaming experience.