In this blog post, the author shares about building a password game they created called the Cloud Password Game for the AWS Game Builder Challenge running in November. The game tests the player's cloud and AWS knowledge by presenting a secret word and offering one-word clues to guess that password. The game is built and deployed with AWS Amplify and uses the Amazon Bedrock Converse API to generate the password and clues.
The author had to learn more about prompt engineering for Titan text models as they are using a new model, the Amazon Titan Text G1 - Premier model for generating clues and passwords.
The author includes details on how to format the output for the game with prompts in JSON format only with specific instructions to follow using bulleted rules. They also learned about Amazon Q Developer's new inline chat feature that generates code snippets to the console
The authors added more context, authentication, a leaderboard to track scores, and updated UI could be improvements for future versions.
To achieve high accuracy with this model, the author simplified and deconfused the prompts he was creating.
Creating the game was a fun experience for the author and their family and they encourage everyone to participate in the AWS game builder challenge.
Adding user authentication and a leaderboard for competition with other users could be useful enhancements the author could add in the future.
The article concluded by encouraging readers to check out more of the author's work and suggested that readers could smash the like button, share the article with friends, and comment below.