# The problems of Kotlin/Wasm I had when making a game

DevFeed: [The problems of Kotlin/Wasm I had when making a game](<https://devfeed.tech/articles/the-problems-of-kotlin-wasm-i-had-when-making-a-game-39315.md>)

Original publisher: [Read original article](<https://kt.academy/article/game-story-collection-processing-wasm>)

Published: 2025-01-20T00:00:00Z

Content type: article

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [wasm](<https://devfeed.tech/topics/wasm.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [compose-multiplatform](<https://devfeed.tech/topics/compose-multiplatform.md>), [multiplatform](<https://devfeed.tech/topics/multiplatform.md>), [CSV](<https://devfeed.tech/topics/csv.md>)

Tags: [challenges](<https://devfeed.tech/tags/challenges.md>), [compose](<https://devfeed.tech/tags/compose.md>), [compose-multiplatform](<https://devfeed.tech/tags/compose-multiplatform.md>), [csv](<https://devfeed.tech/tags/csv.md>), [game](<https://devfeed.tech/tags/game.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-wasm](<https://devfeed.tech/tags/kotlin-wasm.md>), [wasm](<https://devfeed.tech/tags/wasm.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

## AI overview

An account of building a fruit-based collection-processing game with Compose Multiplatform and publishing it to Kotlin/Wasm. The author describes limitations in Kotlin reflection on common modules, an illegal cast exception occurring on Wasm, and an alternative approach involving generating challenges on the JVM and loading them from a CSV file.

## Source excerpt

A short story of the problems I needed to face when publishing a simple game made with Kotlin/Wasm.