AWS Logo
Menu
Number Guessing Game

Number Guessing Game

A serverless number guessing game built using AWS services where players try to guess a randomly generated number between 1 and 100.

Published Jan 9, 2025
Last Modified Jan 13, 2025
Built a fun and interactive number guessing game using AWS serverless architecture to demonstrate practical cloud development. Players guess a number between 1-100, receiving "higher" or "lower" hints until they find the correct number.
Youtube Link: Number Guessing Game

Tech Stack

  • AWS Lambda - Game logic and service orchestration
  • DynamoDB - Score storage and leaderboard
  • API Gateway - RESTful endpoints
  • SNS - High score notifications
  • CloudWatch - Monitoring and logging
  • CloudFront - Domain and caching
  • Cognito Userpool - Authentication and Authorization
  • HTML/CSS/JS

Features

  • Random number generation
  • Score tracking
  • High score notifications
  • Leaderboard system
  • Error handling and logging

Development Experience

Amazon Q Developer significantly accelerated development by providing:
  • Code examples and best practices
  • Troubleshooting assistance
  • AWS service integration guidance
  • Architecture recommendations

Key Achievements

  • Built fully serverless architecture
  • Implemented efficient state management
  • Created secure API endpoints
  • Established automated notifications
  • Developed comprehensive monitoring
     

Comments