Climbing the Stairways to Heaven!

Since we build on Power Platform, Power Apps and Power Automate provides connectors to various APIs that we use in our app logic and user interface.

Here are some of the ways we are using APIs in our solution:

Power Automate and Outlook 365 API

We use the Outlook 365 API to access one user’s inbox and wait for an incoming email. This email is from the Game Player – and determines if the player progresses in the game or not. This is a bonus nested API call as the Power App triggers the use of the Outlook 365 API through Power Automate!

Copilot Studio

We use the Copilot Studio API to interact with a custom prompt that can act as an advisor throughout the game. At any point in time you can activate the chat and ask any questions you want, to get clues and hints on how to progress in the game. (The butler even knows a lot of secrets about the little town!)

Dataverse

We use the Dataverse API to store and retrieve data for our app/game in Dataverse Tables, such as game progress, Rooms/Locations, Excercises/Questions, Assets (images etc). This makes the game/app much more dynamic as we do not store the information within the app itself.

Drag and drop! UPDATED!

Hey, folks! Do you like puzzles? Do you like Power Apps? Do you like drag and drop stuff? If you answered yes to any of these questions, then you will our newest game Puzzle!

What is this game?

The image puzzle is hidden inside a painting in one of our game locations. You will have to drag and drop the pieces of an image to complete the puzzle. Sounds easy, right? Well, not so fast. You probaly need to find some sort of pattern to follow. So good luck with that!

How did we make it?

We used a super awesome component that Scott Durow made. It’s called the Drag and Drop component, and it lets you create drag and drop user interfaces in Power Apps. Scott is a genius and a legend, and he shared his component on GitHub for everyone to use.

Now, you might be thinking: “Wow, that’s so cool! You must be a great developer to use Scott’s component in your game!” Well, not really. You have to download the component and install it in your environment, then add it to your app

We have a table in Dataverse containing links to the images (you have to host the images externally as of now)

Then we display the images by modifying the itemTemplate and force them to be the same size

And then on each onDrop, we check if the images have the right position.

Which gives us this cool puzzle:

How do I play it? 

Ending this post by stating that we are NOT attempting to claim Glossy Pixels with this post at this time.

Come find us! 

Soria Moria Nightmare – Early Delivery

Oh no! Princess Peach has been captured by the evil Bowser in the Soria Moria castle! You need to help the people of the Holmenkollen mushroom kingdom save her by solving puzzles all around the houses of Voksenkollen to find a way to access the scary Soria Moria castle!

Our solution

The game will be implemented as a point and click adventure using Power Apps and eventually implementing more Power Platform technology to create the puzzles, even in. This first Minimum Viable Delivery is not quite that advanced or even hard yet.

Current state

The user enters the game into a map screen. 

Clicking on the Gardeners Hut enters the player into the gardeners playroom! 

Looking around in the room the player will eventually find the powerbutton to the computer 

This lets the player solve a puzzle on the computer 

In this early version of the story, it turned out that the gardener had hacked the cage that Bowser stupidly had connected to the internet, so the princess is freed! 

(Fancy graphics pending) 

Congratulations, you have escaped the Soria Moria Nightmare!