![Building a cloud-themed adventure game on PartyRock!](/_next/image?url=https%3A%2F%2Fassets.community.aws%2Fa%2F2czxbMWIfrbenMe5mrUvzk7TUsu%2FScre.webp&w=3840&q=75)
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.
![](https://assets.community.aws/a/2czy92gVLoFbP6uk3RoRsJFI8md/Scre.webp)
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.
![](https://assets.community.aws/a/2d00eRz160Z9znvQtiU3UYDpWef/Scre.webp)
Then, I edited the Chat widget to reference the full script:
![](https://assets.community.aws/a/2d00mls7WRSs2KX61lRJWgELTbQ/Scre.webp)
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.
![](https://assets.community.aws/a/2d01BhsPIy6s7g4Qhu3quUSt5sJ/Scre.webp)
I also added a Picture so that the PartyRock app feels like a real game.
![](https://assets.community.aws/a/2d01PV3AmxmEVagbDElMD8Wd3rM/Scre.webp)
And that was it!
![](https://assets.community.aws/a/2d01YsA9XHSQHrZhwQNw5g18hWx/Scre.webp)
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.