An online Checkers game that utilizes AWS resources for CICD, hosting, and storage.
- Jeffery Eisenhardt - eisenhardtj
- Trevor Gray - trevor-gray17
- Brandon Yang - CloudUki
- Nathaniel Hajel - nateh17
This project is an online Checkers game built with AWS API Gateway and Flask-SocketIO for real-time communication.
- Real-time game updates with Flask-SocketIO
- AWS API Gateway communicates to AWS Lambda to store game data in AWS DynamoDB.
- Option to start a new game or continue a game in progress
- Deployed with AWS Amplify
- Game State data stored in DynamoDB
- Go to the GitHub repository.
- Click on the "Fork" button in the top-right corner to create a fork of the repository in your GitHub account.
- Log in to the AWS Management Console.
- Navigate to the AWS Amplify service.
- Click on "Get Started" under "Deploy".
- Connect to your GitHub account and select the forked repository.
- Follow the prompts to configure the build and deploy settings.
- Navigate to the API Gateway service in the AWS Management Console.
- Click on "Create API" and choose "REST API".
- Follow the prompts to create a new API.
- Define the necessary resources and methods for your API.
- Deploy the API to a stage.
- Navigate to the DynamoDB service in the AWS Management Console.
- Click on "Create table".
- Define the table name and primary key (e.g.,
GameID
). - Configure the table settings as needed and create the table.
- Navigate to the Lambda service in the AWS Management Console.
- Click on "Create function".
- Choose "Author from scratch" and provide a function name.
- Set the runtime to Python 3.x.
- Configure the function's execution role and permissions.
- Add the necessary code to handle game state updates and retrieval.
- Set up triggers for the API Gateway.
- Open a terminal on your local machine.
- Clone the forked repository:
git clone https://github.com/your-username/Checkers.git cd Checkers
- Go to "index.html".
- Scroll down to line 79.
- Copy and paste the API Gateway url from AWS.
- Make sure the url is between the quotations.
git add .
git commit -m "Update configuration links"
git push origin main