An open API service indexing awesome lists of open source software.

https://github.com/kwokhing/vibe-coding-pygame-with-amazon-q-cli

Vibe codes a simple 2D shooting pygame using Amazon Q CLI
https://github.com/kwokhing/vibe-coding-pygame-with-amazon-q-cli

amazon-q-cli pygame vibe-coding vibecoding

Last synced: 12 months ago
JSON representation

Vibe codes a simple 2D shooting pygame using Amazon Q CLI

Awesome Lists containing this project

README

          

## Vibe Coding A Simple 2D Shooter PyGame With Amazon Q CLI

This repo contains the submission for the campaign ***“Build Games with Amazon Q CLI”*** - a hands-on experience with an AI coding assistant and letting your creativity and imagination bring a new game to reality using [Amazon Q CLI](https://aws.amazon.com/blogs/devops/introducing-the-enhanced-command-line-interface-in-amazon-q-developer/)

![Amazon Q CLI](images/Amazon%20Q%20Connect.png)

## Getting started
STEP 1: Sign up to an AWS Builder ID and claim your unique community.aws username [here](https://community.aws/builderid?trk=b085178b-f0cb-447b-b32d-bd0641720467&sc_channel=el).

STEP 2: Install Amazon Q CLI on your machine. Here are two guides from Ricardo Sueiras on how you can install in [Linux](https://community.aws/content/2ulGwNwLFj5grS8hXJBMCN78Qwl/the-essential-guide-to-installing-amazon-q-developer-cli-on-linux) and in [Windows](https://community.aws/content/2v5PptEEYT2y0lRmZbFQtECA66M/the-essential-guide-to-installing-amazon-q-developer-cli-on-windows). Install PyGame library on your laptop.

## Building a game in under an hour with Amazon Q CLI
STEP 3: Start a chat session with Amazon Q CLI and build a game with just prompts in the chat

STEP 5: Prompt Amazon Q CLI to fix bugs in the code

STEP 4: Refine the game by adding more features using only prompts

## Final game output

You can view the final game output [here]([images/Game%20Demo.mp4](https://drive.google.com/file/d/17oQ-O_15PlyYQczGv_sje9Lj0fcst3H5/view?usp=sharing))

![2D shooter game](images/Fix%20Invisible%20Bullet%20Bug.png)