How Amazon Q helps making Live-Service games easier
Explaining my leveraging of Amazon Q for the AWS Game Builder Challenge.
Published Nov 5, 2024
To start off, there are three notable benefits of using Amazon Q as a VSCode extension (at least to my knowledge), that being the left-hand chat system, the autocomplete, and the code editor.
The chatbot is most useful for asking clarifying questions regarding specific syntax or libraries, such as using DateTime for tracking a player's daily logins. One advantage it has over its competitors is the sources section, allowing users to develop their own knowledge rather than becoming over-reliant on AI that, like all current AI chatbots, might not have the answers for specific scenarios.
The autocomplete is always active, and as shown in the above screenshot, is most useful for coding logic-heavy games (like the mobile RPG I'm making for the challenge) since it recognizes conventional game logic such as resetting battle-specific objects before each one.
The code editor (which can be activated by pressing command + I while selecting code) is most useful for optimizing existing code, such as reusing keys for DynamoDB requests.
Currently, I'm using Amazon Q alongside Amazon DynamoDB to make a mobile RPG game, where you can pull characters and fight bosses using luck and strategy respectively. While there is a large creative aspect (creating sprites, music, and a story) that I don't use AWS services for, DynamoDB helps streamline everything else on the backend, such as managing stats and currencies. Using a single table with a primary key pertaining to one's Player ID and a secondary one for each type of item alongside the AWS-SDK for .NET, I'm able to scale upwards for many users while managing my game as an individual person. Additionally, I get an extra layer of security for important data so players can't cheat their stats or generate currency they didn't earn or pay for. I believe services like DynamoDB will revolutionize the accessibility of live-service mobile games, which currently dominate the industry, allowing smaller teams to make comparable products, saving money and time.