I developed a simple and engaging balloon shooting game using Python, pygame, and the Amazon Q Developer IDE. This project was a powerful and exciting demonstration of AI's capabilities.
What's this game about?
The game features multi-colored balloons and special balloons that award bonus points.
Concise instructions.
I used VSCode with the Amazon Q CLI and Python extensions. After authenticating the Amazon Q CLI with my Amazon Builder account, I instructed Q to "create a balloon shooting game using pygame". That's it, Amazon Q created by requirements.txt file and given me the below command to install pygame.
pip install -r requirements.txt
Once installed Amazon Q created the py.game file for me automatically.
I tested my game by running
python game.py
I passed on further instructions to my Amazon Q IDE to get the scoring added, multi color balloons and special balloons.
Final Code:-
The final code is uploaded in the github repository https://github.com/amalkabraham001/BalloonShooterPYGame
How to improvise?
I enlisted Amazon Q's help to publish my game globally. Q is converting it to HTML and uploading it to S3, allowing for web-based play. Amazon Q did the work for me.
Final result:-
Play and enjoy the game.
https://amalcloudblogs.s3.ap-southeast-1.amazonaws.com/BalloonShootergame_AmalAmazonQ/index.html
Don't wait, create your game now.
Top comments (0)