This jam is now over. It ran from 2026-11-06 20:00:00 to 2026-11-08 20:00:00. View 9 entries

Please note that this jam is exclusively for current, paying supporters of the GMTK Patreon! You will be asked to provide your Patreon email when submitting to confirm your status. Thanks!
Want to sign up to GMTK and take part? Click here to become a patron!

This is the microgame player. Once entries come in, hit Play and it'll shuffle through all of them. Until then, use "Test my game" to try out your own.

(Fair warning - this is a bit of an experiment!)

As well as the official patron jam we do after Christmas each year, we're trying something new this time: a smaller, themed jam.

The setup for the Alt Jam will change each year; one year it might be visual novels, next year it'll be PDF games, or Bitsy, or who knows!

This November 2026 event is an experimental trial run - ahead of the official Alt Patron Jam which will start next year, in April 2027.

The Theme

The theme for this micro-jam is: microgame!

Never played a microgame game? Watch this to get an idea of how the game will work!

For you lot who have played the WarioWare games (or watched that video), that's what we're building here! Join the jam, make a game in any tool (as long as it can handle sending/receiving JavaScript events), wire up the JavaScript bridge events we give you (details below) and your submission will automatically be playable in our custom game wrapper which brings everything together!

You will create one or more microgame, and each microgame will be uploaded to the jam as its own separate entry. Once the entries are in, the player at the top of this page will shuffle through all of them and you can all play the minigame collection!

What Do You Upload?

This means that, unlike a normal jam where every submitter creates one complete standalone game, this jam is more like uploading a tiny self-contained level. Every upload will be a tiny playable chunk - it needs to load quickly and only last 5-10 seconds!

How Does It Work?

How uploads will work

Each participant may create one or more microgames. Each microgame should be submitted as its own itch.io upload to the jam.

Once the jam closes, the organisers will combine the uploaded microgames into a single wrapped game experience using our custom loader/wrapper.

Unity uploads

We've got a package for you. See "Setting up your project" below.

Godot uploads

We've got a plugin for you. See "Setting up your project" below.

Regular JavaScript uploads

We've got a script for you. See "Setting up your project" below.

Any other engine?

You're 100% welcome to use whatever engine you want, but you're on your own to figure out the JS connection. We've listed every message below to help you out.

What your microgame needs to do

The player handles everything around your game: the loading screen, the title card, the 3-2-1 countdown, the timer and the win/lose screen. It is 960x720 resolution, so export that size. Your game only has to do four things.

  1. Register. As soon as your game has loaded, tell the player your prompt. That's the big one-liner on the title card, like "Dodge!" or "Catch!". You also tell it your controls and how long the round lasts, anywhere from 5 to 10 seconds. You also choose whether surviving until the timer runs out counts as a win.
  2. Wait for the start. The player loads your game in the background while someone else's is still being played. Nobody can see yours yet, so don't start anything until you get the game start event.
  3. Say who won. Tell the player if the player won or lost. You can end the round right away, or let it run on to the timer. You can change your mind as often as you like, and the last call before the round ends counts. If you never say, the timer decides.
  4. Stop on the game end event. The result shows for a second, then your game gets closed.

A game that crashes ends its round as an error, so keep an eye on that console. Every SDK below also plays a round by itself when it isn't inside the player. Hit Play in your engine and you can test the whole thing straight away.

Uploading to itch

Upload a web build to your game's itch page, the same as you would for any browser game. A few settings matter:

  • Set "Kind of project" to HTML.
  • Tick "This file will be played in the browser" on your upload.
  • Leave SharedArrayBuffer support off. Games with it switched on can't run inside the player, so it skips them.
  • Set the embed size to your game's resolution. The player uses it to fit your game on screen.
  • Keep it small! Your game loads while someone else's is being played, so a big download means a long wait.

Testing your game in the player

  1. Upload your build to itch as above.
  2. Make the page public. The player can't see draft or restricted pages.
  3. In the player at the top of this page, click "Test my game" and paste in your page's address, something like https://you.itch.io/your-game.

It'll play your microgame on repeat with the real title card, countdown, timer and result screen. If something's wrong with your upload, like a missing web build or SharedArrayBuffer turned on, it'll tell you instead of starting.

Setting up your project

Pick your engine below. Each one comes with a template script, so start from that, swap the placeholder bits for your game, and you're most of the way there!

Unity

We've tested this on Unity 6.3. Any version that can make a WebGL build should be fine.

  1. Download jam-roulette-unity.unitypackage.
  2. In Unity, go to Assets → Import Package → Custom Package and pick that file. Everything goes in Assets/JamRoulette.
  3. Add the MicrogameTemplate component to any GameObject in your first scene. Your prompt, controls, round length and whether the player wins when time runs out are all in the Inspector.
  4. Press Play. The template runs a whole round in the editor, with Win and Lose buttons standing in for your game.
  5. Replace the methods marked TODO with your actual game.
  6. Make a WebGL build and upload it to itch.

If you'd rather write your own script, this is all it takes:

using JamRoulette;

void Start()
{
    Microgame.GameStarted += gameTime => enabled = true;
    Microgame.GameEnded += condition => enabled = false;
    Microgame.Register("Dodge!", "arrows", gameTime: 5, winOnTimeOut: true);
}

void OnHit() => Microgame.SetGameState(GameOverCondition.Lose, immediatelyEnd: true);

Any exception or Debug.LogError ends your round as an error. On Unity 6 the package also turns off the Unity splash screen for WebGL, because the player has its own. Older versions won't let a Personal licence turn it off, so your players will sit through the Unity logo first.

Want to copy the files in by hand? Here's a zip.

Godot

This is for Godot 4. We've tested it on 4.5.

  1. Download jam-roulette-godot.zip and unzip it into your project folder. You should end up with res://addons/jam_roulette.
  2. Go to Project → Project Settings → Plugins and turn on Jam Roulette. That adds an autoload called Microgame.
  3. Attach microgame_template.gd to the root node of your main scene. The settings are in the Inspector.
  4. Run the game. Enter or Space wins, Escape loses, and E reports an error, so you can try every ending.
  5. Replace the functions marked TODO with your actual game.
  6. Export for Web and upload it to itch. Leave Thread Support off in the export options. It's off by default since Godot 4.3, and threaded builds need SharedArrayBuffer, which the player can't run.

The short version, if you're writing your own:

func _ready() -> void:
    Microgame.game_started.connect(func(game_time): set_process(true))
    Microgame.game_ended.connect(func(condition): set_process(false))
    Microgame.register("Dodge!", "arrows", 5.0, true)

func _on_hit() -> void:
    Microgame.set_game_state(Microgame.GameOverCondition.LOSE, true)

Godot can't catch errors for us, so if something breaks, call Microgame.report_error() yourself.

Regular JavaScript

Download microgame.js, put it next to your index.html and load it before your own code:

<script src="microgame.js"></script>
<script>
  Microgame.on('gameStart', (msg) => startPlaying(msg.gameTime));
  Microgame.on('gameEnd', (msg) => freeze(msg.condition));
  Microgame.register({ prompt: 'Dodge!', interaction: 'arrows', gameTime: 5, winOnTimeOut: true });

  // When the player wins, but the round keeps going until the timer:
  Microgame.setGameState('win', false);
  // When the player loses, and the round ends now:
  Microgame.setGameState('lose', true);
</script>

Uncaught errors and rejected promises end the round as an error automatically.

Any other engine

If your engine can run JavaScript in its web build, the easiest route is loading microgame.js and calling it from your engine. It's about 130 lines if you want to see how it works.

Otherwise, everything goes over postMessage between your game and window.parent. Each message is a plain object with channel: "microgame" and a type.

Your game sends:

  • register with prompt, interaction, gameTime and winOnTimeOut. Send it once your game has loaded.
  • setGameState with condition, which is "win", "lose" or "error", and immediatelyEnd, which is true or false.
  • error with a message. This ends the round as an error.

The player sends:

  • hello once it's got your register. If this never arrives, you're not inside the player, so run the round yourself for testing.
  • showGameSplash, loadingEnd, countdownStart and countdownEnd while the title card and countdown play. You can ignore these.
  • gameStart with gameTime. Start playing now.
  • gameUpdate with timeLeft, every frame of the round.
  • gameEnd with condition, which is "win", "lose", "error" or null if the player skipped. Stop playing now.

Submissions(9)

All submissions
·
Browser playable (9)

No submissions match your filter