London GameCraft 2013 – Agents of P.R.I.S.M

You can become a serverless blackbelt. Enrol to my 4-week online workshop Production-Ready Serverless and gain hands-on experience building something from scratch using serverless technologies. At the end of the workshop, you should have a broader view of the challenges you will face as your serverless architecture matures and expands. You should also have a firm grasp on when serverless is a good fit for your system as well as common pitfalls you need to avoid. Sign up now and get 15% discount with the code yanprs15!

After an 11-hour marathon session at the London GameCraft event yesterday, I am very proud to say that my team’s entry – Agents of P.R.I.S.M was awarded with the MOST INTERESTING INTERPRETATION OF THE THEME award for the theme of the day – Impact of P.R.I.S.M.

It was a great day out for the guys and gals from GameSys which also saw our other team’s entry – After Him – winning the BEST TEAM EFFORT award too for best arts.

I’d like to take this opportunity to say thanks to everyone for organizing such a wonderful event, we had a great time and I saw many interesting games developed by a wide variety of different technologies and frameworks. Personally I used this opportunity to experiment with Dart and StageXL and I’m pleased with what I was able build with them in less than 11 hours.

You can play the game here, and if you’re interested in checking out the source code (admittedly of poor organization due to time constraint!) feel free to check out the github repository.

Agents of P.R.I.S.M

image image

To directly answer the question of ‘what’s the impact of PRISM’, it’s the creation of a surveillance capability that whilst can serve to help prevent crime and terrorist attacks, is also subject to misuse and abuse.

If underused and unable to stop the sort of disaster it is intended to prevent, it’ll no doubt come under much public criticism. On the other hand, if it’s misused or overused and cause too much intrusion to everyday lives of innocent people then it’ll also cause public unrest. It is therefore a fine balance between not doing enough and doing too much, and it is this need for balance that we wanted to focus on with Agents of P.R.I.S.M.


Mission Brief

As an agent with access to P.R.I.S.M, your task is to identify a criminal out of a set of potential targets, and you have a set of surveillance options that can be used against each of these targets, in the order of each option’s cost and level of effectiveness and intrusiveness:

1. CCTV surveillance (least expensive, effective and intrusive)

2. Credit card surveillance

3. Email surveillance

4. Phone surveillance

5. Send agents on the field to conduct in-person surveillance (most expensive, effective and intrusive, this is truly a high risk, high reward approach)

You need to balance against:

  • Time – if you don’t identify the criminal before time runs out then he gets away and you failed your task, so move fast!
  • Intrusion level – if you’re too aggressive with your use of surveillance options then it’ll make the citizens unhappy, when they become angry with how much you’re intruding on their lives it leads to civil unrest and you lose.
  • Budget – government agencies have to operate within its budget, so do you, spend carelessly on expensive surveillance options will drain your budget and when you run out of budget you can no longer catch the criminal and you lose.

As you progress through the levels, the amount of budget and time you have and number of potential suspects will change and make the game more and more challenging.


Game Play


Clicking on each target allows you to start or stop the different types of surveillance on him/her.

As you continue to apply surveillance on each of your targets their level of happiness will decrease (even the criminal has the right to be unhappy about being watched you know!), as does the overall civilian happiness.

As surveillance reveals more information about each of your targets your level of suspicion against them will also grow. However, for the innocent civilians you’ll soon realize that they’re clean. For these civilians, continued surveillance on them will no longer raise your suspicion level but would continue to cause them upset so it’s best for you to stop any surveillance on targets as soon as the suspicion level stops growing.

The more intrusive form of surveillance option you use the faster the target’s happiness decreases, and the faster your suspicion level will grow since the surveillance will reveal more information about your target, it also decreases your budget faster too as you fork out to likes of Google, Microsoft and telephone companies in order to acquire communication records..


I hope after reading you find the idea of the game interesting and would like to give it a try. I appreciate that the game doesn’t feel as fun as it could be in its current form, it needs much more work balancing the various constraints the player has to work with, for example, more time and less budget can encourage a more considered and careful approach to playing.

The UI can also be improved to offer the player more useful guidance and a tutorial wouldn’t go amiss too.

That said, please bare in mind that the entire game was written by one person in less than 11 hours using an unfamiliar language and framework. If time permits and there are interest out there, I’m more than happy to put in a few more hours and give the game a much needed final polish.



Play the Game

Source Code

Liked this article? Support me on Patreon and get direct help from me via a private Slack channel or 1-2-1 mentoring.
Subscribe to my newsletter

Hi, I’m Yan. I’m an AWS Serverless Hero and I help companies go faster for less by adopting serverless technologies successfully.

Are you struggling with serverless or need guidance on best practices? Do you want someone to review your architecture and help you avoid costly mistakes down the line? Whatever the case, I’m here to help.

Hire me.

Skill up your serverless game with this hands-on workshop.

My 4-week Production-Ready Serverless online workshop is back!

This course takes you through building a production-ready serverless web application from testing, deployment, security, all the way through to observability. The motivation for this course is to give you hands-on experience building something with serverless technologies while giving you a broader view of the challenges you will face as the architecture matures and expands.

We will start at the basics and give you a firm introduction to Lambda and all the relevant concepts and service features (including the latest announcements in 2020). And then gradually ramping up and cover a wide array of topics such as API security, testing strategies, CI/CD, secret management, and operational best practices for monitoring and troubleshooting.

If you enrol now you can also get 15% OFF with the promo code “yanprs15”.

Enrol now and SAVE 15%.

Check out my new podcast Real-World Serverless where I talk with engineers who are building amazing things with serverless technologies and discuss the real-world use cases and challenges they face. If you’re interested in what people are actually doing with serverless and what it’s really like to be working with serverless day-to-day, then this is the podcast for you.

Check out my video course, Complete Guide to AWS Step Functions. In this course, we’ll cover everything you need to know to use AWS Step Functions service effectively. There is something for everyone from beginners to more advanced users looking for design patterns and best practices. Enrol now and start learning!

Check out my video course, Complete Guide to AWS Step Functions. In this course, we’ll cover everything you need to know to use AWS Step Functions service effectively. There is something for everyone from beginners to more advanced users looking for design patterns and best practices. Enrol now and start learning!