This project showcases a simple memory matching game, built with HTML, CSS, and JavaScript, and deployed using AWS S3 and AWS CodePipeline for continuous integration and deployment.
This repository contains the source code for a memory matching game. The project is continuously deployed using AWS CodePipeline. The game is hosted on an AWS S3 bucket set up for static website hosting. The CodePipeline is configured to automatically deploy any updates from this GitHub repository to the S3 bucket.
This memory matching game challenges the user to match pairs of images. Here's how it works:
The user clicks two cards (images of memes) to try to match them. If the cards match, they disappear from the board. If the cards don't match, they flip back to their blank side, and the user tries again.
- Scoring mechanism
- Timer for game completion
- Additional cards for increased difficulty
- Multi-player mode for score comparison
The game is hosted in an AWS S3 bucket configured for static website hosting. The deployment process is automated through AWS CodePipeline.
We use AWS CodePipeline to create a CI/CD pipeline:
- Source: The pipeline is triggered whenever a change is detected in this GitHub repository.
- Build: Any new changes are prepared for deployment.
- Deploy: The changes are deployed to the S3 bucket hosting the game.
- AWS account (eligible for Free Tier)
- GitHub repository containing the game code
- AWS S3 bucket for static website hosting
- AWS CodePipeline for continuous deployment
- AWS Free Tier and Costs While the services used (S3, CodePipeline) are eligible for the AWS Free Tier, it's important to monitor your usage, as charges may be incurred over time. It is recommended to shut down resources after finishing the deployment.
-
Set Up S3 for Static Website Hosting
-
Set Up AWS CodePipeline
Feel free to fork this repository and contribute new features (such as scoring, multiplayer, etc.) by submitting pull requests.