logo
Menu
Building a cloud-themed adventure game on PartyRock!

Building a cloud-themed adventure game on PartyRock!

This post describe how to use PartyRock to create an adventure game. In this case, I choose a Cloud theme as I would love players to gain Cloud experience at the same time they have fun playing the game.

Published Feb 28, 2024
Intro
As part of the AWS PartyRock Hackathon, I built this fun game. I took inspiration from the adventure games I used to play as a kid.
But what is PartyRock? PartyRock is a GenAI playground that enables people to play around with GenAI in an educational and fun way. By entering a quick text PartyRock generates an application for you and you can then tweak it as you see fit.
Creating the Game
To create the game, I used the following prompt:
I first noticed that the script needed to be fully configured in the chat widget, as the initial prompt only took the basic gist of it. I created a static section for the script to fix this, as I planned to use it in several widgets.
Then, I edited the Chat widget to reference the full script:
I had to rework the script several times until the game started to act as I was expecting.
After that, I decided to add a section to show the game source code. This would be useful for educational reasons and for anyone wanting to build the game for any platform.
I also added a Picture so that the PartyRock app feels like a real game.
And that was it!
Conclusion
Building an app on PartyRock is fun and straightforward. It provides a very interactive way to add widgets and experiment with LLM models of all kinds. There are no coding skills required to create something significant. I created a simple 3-level game in about 10 minutes, but this could be extrapolated to something more significant with a little bit of time.
 

Comments