
Cognify
CogniFy is an AI-powered word-guessing game developed for the AWS Game Builder Challenge, showcasing human creativity in a fun battle of wits and knowledge.
- Compete against an AI that uses Amazon Bedrock’s models for real-time guessing.
- Similarity feedback for player guesses is calculated using GloVe embeddings.
- Every day brings a new target word, encouraging players to strategize and improve.
- A global leaderboard fosters friendly competition.
- Monitor progress with detailed statistics:
- Total games played
- Best rank achieved
- Completion rate
- Average guesses per game
- Review recent games to refine strategies.
- Powered by AWS ECS for scalability, with infrastructure managed via CloudFormation.
- Real-time updates and responsiveness, thanks to Flask backend and AJAX-driven frontend.
- Player Input and AI Guessing:
- Players and AI submit guesses, with similarity feedback calculated using GloVe embeddings.
- AI guesses are powered by Amazon Bedrock’s Mistral Model, ensuring dynamic and competitive gameplay.
- Backend:
- Built with Flask, it handles game logic, processes player statistics, and manages leaderboards.
- Frontend:
- A responsive JavaScript interface offers an intuitive user experience with real-time feedback.
- Cloud Deployment:
- Deployed via Docker containers on AWS ECS, ensuring reliability and scalability.
- Route 53 manages DNS, and CloudFormation simplifies infrastructure as code.
- Challenge: GloVe embeddings have a limited vocabulary, causing some words to lack similarity metrics.
- Solution: Implemented fallback mechanisms and expanded embeddings with additional data.
- Challenge: Ensuring minimal latency during AI-driven gameplay.
- Solution: Utilized caching and AWS services for optimized performance.
- Challenge: Setting up a scalable and secure infrastructure.
- Solution: Leveraged AWS ECS, CloudFormation, and Route 53 for a robust deployment.
- Seamlessly integrated Amazon Bedrock and GloVe embeddings for dynamic AI gameplay.
- Delivered a visually appealing and interactive interface that keeps players engaged.
- Built a scalable and secure cloud infrastructure using AWS services.
- Multiplayer Mode: Introduce real-time battles between friends.
- Mobile App: Launch iOS and Android versions for wider accessibility.
- Advanced AI: Upgrade to more sophisticated models for improved guessing capabilities.
- Gamification: Add rewards, achievements, and daily streaks to enhance engagement.
- Language Expansion: Support multiple languages for a global audience.