article banner

Coroutines Races Guessing Game!

That was a hard side project, but I finally made it! I wanted to create a game that will test your understanding of coroutines in Kotlin, and I can finally announce I made it! You can find it here.

In this game, the task is to predict what will be the result of a short snippet of code that uses coroutines. But be careful, you need to be precise, and predict not only what will be printed but also how much time will you need to wait between those prints and before the program ends.

On higher levels, you need to fight with more complex code, including synchronization, cancellation, and exceptions. Definitely, it is not an easy game, but I hope you will enjoy it. Make sure to try Adventure mode, where more complex structures are introduced over time, and where you can meet a friendly wizard to guide you.

This game was made in Compose Multiplatform, and it is released as a website using Wasm. It looks good both on desktop and on mobile.

Every level is generated randomly, so you can play it multiple times and still have a different experience.