Flutter is a fun platform to build interactive experiences upon. You write code in Dart, which is compiled into efficient applications that can run on iOS, Android, desktop and now also the web. It’s been two years since I last wrote Dart code, then winning Google’s Flutter Clock Challenge with my Particle Clock entry. Since then, the Flutter team has shipped tonnes of features and improvements to the platform.
I spent the weekend trying out some of these shiny new features. The product became a small multiplayer game that you can play from the comfort of your couch, using smartphones and tablets as controllers.
Running Flutter on the web feels oddly familiar to me. Perhaps some of you remember tech like Shockwave, Flash and Sliverlight from the old days of web development? None of those are used in any large extent today, luckily. But how is Flutter any different?
What’s different today from back then is that web browsers can now run compiled languages that target WebAssembly (WASM). This means the end-user will never have to install plug-ins in order to run your web application. It’s all ready to go, right in the browser!
Flutter for web compiles to WASM, and runs efficiently in modern web browsers.
Flutter is great if you’re on a low budget and want to deploy something quickly. You can deploy to iOS, Android, desktop… from a single codebase. Because of the custom-built rendering engine that ships with Flutter, you can be sure that your app looks and runs great everywhere.
To start the game, scan the QR-code with your smartphone or tablet. You can play up to 8 players. The game will start when all players have pressed “Ready” on their controller. The goal of the game is to get all numbers in the ascending order, starting from 1. Like a classic sliding puzzle, you can only move 1 tile at a time.
Visit couchpuzzler.vercel.app to play! Or watch me demo the game here:
Sorry for the potato production quality, I just had a couple of minutes to record the video and wanted to present all the features in one go.
Subscribe to the Newsletter
Get my best content by email. Emails are sent out no more than once a month. Your email address is safe and will not be shared with 3rd parties.