Part 14: Hiding card slots with no cards played

I’m still working on getting a playspace runnning.  New updates include creating repeaters for each of the location areas for each player – 4 slots per player per location. To do this, I’ve augmented the Game instatiation flows so that each location automatically creates 4 slot records per player – in the last update I said I wouldn’t rely on repeaters, but given I know that we will have a hard-limit on the slots, it’s Read more…

Part 13: Getting the Playspace UI running

Firstly, A bit of other news related to this project – I submitted a talk for ServiceNow’s Knowledge 24 conference in Las Vegas to talk about the process of creating this app and it’s all booked in, so I’ll be appearing at the conference.  Come along if you want to hear about how it was all done and maybe say hi! Now that I have deck building and game instantiation flows all running and creating Read more…

Part 12: Creating a Deck List Page

This is just a quick update – I’ve been doing some cleanup work just getting the data creation activities for Matchmaking and Game Instantiation working.  I realised that I only had a couple of Decks to play with, so I wanted to get a quick and dirty deck list page into UI Builder. This is really ugly for now, but it’s mostly so I can get testing and navigation sorted out. I created a new Read more…

Using ChatGPT to optimise annual leave

Here’s a little trick I tried to get ChatGPT to help plan my Annual Leave for 2024 based around public holidays.  I asked it to look at the public holiday calendar, find all the opportunities for extra long weekends or extended breaks and give me a summary: Review the Victorian Public Holiday calendar: https://www.victoriapublicholiday.com.au/victoria-public-holidays-2024/. I’d like you to go through all the Public holidays and weekends for 2024 and try to identify the optimal “working Read more…

Part 11: Setting up the game board

Initiating a game will require us to have all the potential card and location positions for the playspace defined (for each player) as well as slots for both players. This is roughly the outcome we’re looking for: We’ll also need to track the player’s hand content, as well as their deck contents, so let’s break this down a bit.   Setting up the playspace: We need to set the players up – we have a Read more…

Part 10: Getting Location and Summon Cards – refactoring my integration subflow

So far with the Marvel Snap app, we’ve been retrieving character cards.  Before we start looking at how to shuffle a game, we’ll need to retrieve Location Cards so we can use them in our game. We’ve already created a Retrieve Marvel cards Integration hub action which hits the API that we’ve been working with.  We started looking at the additional card types at some point, but we never set them up properly.  We’ve got Read more…

Part 9: Finishing the Deck Builder prototype

Once I’d cracked the repeater system for the card grid for my Marvel Snap game on the deck builder page, it unlocked the final parts of that page for me.   Having been able to define the grid for selecting cards to ADD to the deck, I could use a smaller-scale version of the same mechanism to build the Current Deck section of the deck builder page.   In the last update I created a Read more…

Part 8: Creating a new deck and populating the cards

Ok, so far I’ve got a Deck Definition record, and I’ve got a Deck Card record to contain the children of that Deck Definition, but I don’t have a way to create the deck contents from my Deck Building interface.  I have an event queue record for whenever someone clicks the card to be added, but it doesn’t yet ADD the card….   I’m going to start by setting up placeholder Player deck card records Read more…

Part 7: Setting Up a Grid repeater

Setting up my cards in a repeating grid pattern turned out to be a little trickier than I had expected.  Here’s the steps I ended up needing to follow: Create the Repeater component and map it to the Data array from my “Get Card Definitions” data resource: Under Styles, you have to “Enable Styles” and set the Direction to “Row”, and under “Show advanced layout options” select “Wrap child elements to multiple lines”. I also Read more…