├── README.md
├── images
├── blank.png
├── distracted.png
├── drake.png
├── fine.png
├── images.pptx
├── rollsafe.png
└── success.png
├── index.html
├── script.js
└── styles.css
/README.md:
--------------------------------------------------------------------------------
1 | # Continuous Deployment using AWS Code Pipeline and S3
2 |
3 | This repo contains the code files used in this [YouTube video](https://youtu.be/biYVW1TMYAU).
4 |
5 | ## TL;DR
6 | Code for a game is hosted in GitHub. We create an S3 bucket for static website hosting, then create a continuous deployment pipeline (using AWS Code Pipeline) to automatically deploy the code whenever changes are made.
7 |
8 | ## The Game
9 | A simple memory matching game. The user clicks two cards (images of memes) to try to match them. If there's a match, the cards disappear from the board. If there's no match, the cards are flipped back to their blank side so the user can try again.
10 |
11 | The game consists of HTML, CSS and JavaScript.
12 |
13 | Ideas for additional features:
14 | - A scoring mechanism
15 | - A timer
16 | - Add additional cards
17 | - Multi-player capabilities so you can compare scores
18 |
19 | ## The Deployment Environment
20 | The code will be deployed and hosted in S3.
21 |
22 | ## The Deployment Pipeline
23 | The pipeline is created using AWS Code Pipeline. The pipeline pulls the code from GitHub, and deploys it to S3 whenever a change is detected in the code.
24 |
25 | ## Cost
26 | All services used are eligible for the [AWS Free Tier](https://aws.amazon.com/free/). However, charges will incur at some point so it's recommended that you shut down resources after completing this tutorial.
27 |
--------------------------------------------------------------------------------
/images/blank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tinytechnicaltutorials/codepipeline-s3-game/4dc89322d0c8c801194a8834e529486e324421fb/images/blank.png
--------------------------------------------------------------------------------
/images/distracted.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tinytechnicaltutorials/codepipeline-s3-game/4dc89322d0c8c801194a8834e529486e324421fb/images/distracted.png
--------------------------------------------------------------------------------
/images/drake.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tinytechnicaltutorials/codepipeline-s3-game/4dc89322d0c8c801194a8834e529486e324421fb/images/drake.png
--------------------------------------------------------------------------------
/images/fine.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tinytechnicaltutorials/codepipeline-s3-game/4dc89322d0c8c801194a8834e529486e324421fb/images/fine.png
--------------------------------------------------------------------------------
/images/images.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tinytechnicaltutorials/codepipeline-s3-game/4dc89322d0c8c801194a8834e529486e324421fb/images/images.pptx
--------------------------------------------------------------------------------
/images/rollsafe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tinytechnicaltutorials/codepipeline-s3-game/4dc89322d0c8c801194a8834e529486e324421fb/images/rollsafe.png
--------------------------------------------------------------------------------
/images/success.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tinytechnicaltutorials/codepipeline-s3-game/4dc89322d0c8c801194a8834e529486e324421fb/images/success.png
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Meme Matching Game
7 |
8 |
9 |
10 |
11 |
MEME MATCHING GAME
12 |
13 | Welcome to the Meme Matching Game! Flip over two cards at a time and try to find all the matching pairs. Be quick and remember where you saw the cards!
14 |