Numberguessinggame.com is similar to Wordle, but with a twist—it uses numbers! Players get six attempts to guess a three-digit number. After each guess, the game provides feedback, helping narrow down the possible numbers and boosting the player's odds of success. The game also tracks statistics such as games played and games won. I embarked on this project as an introductory step to delve into JavaScript and web design, and it served as a valuable learning experience.
The automation for this repository's deployment utilizes AWS StackSets configured for my AWS organization. My AWS Deployment Roles repository contains CDK code that defines the CloudFormation StackSet, which deploys the deployment roles to the member accounts of my organization. I have created an OIDC GitHub Actions user in my management account. GitHub Actions assume this role first and then use it to assume the deployment roles in the member accounts. For more details, see GitHub Actions Workflows.
The website infrastructure is fully managed by AWS CDK. The CDK code is organized into constructs and stacks.
- ACMCertificates: Manages ACM certificates.
- CloudfrontDistribution: Manages CloudFront distributions.
- S3Bucket: Creates and configures S3 buckets.
For more details, see Constructs.
- ACMCertificates: ACM certificates stack.
- BackupBucket: Backup bucket stack.
- Main: Main stack.
For more details, see Stacks.
- app.py: The entry point for the CDK application.