I'm building a solitaire game for fun in compose. ...
# compose
e
I'm building a solitaire game for fun in compose. Is it worth pursuing writing it using basic elements such as column etc. or is it better to have a custom layout for the entire game? The main challenge I see is dragging and dropping between columns, is that even possible?
🤘 1
b
https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-drag-drop.html#creating-a-drop-target i think it works from any composable to any other composable, regardless of hierarchy. i'd go for constraint-layout as the root composable, if you want to also have exigent control over game area resizes. and maybe LazyVerticalStaggeredGrid for the decks.
cool idea 😄