BKMbigo / solitaire-compose

A simple solitaire card game
https://bkmbigo.github.io/solitaire-compose/
11 stars 0 forks source link

Refactor dsl function `to` #13

Closed BKMbigo closed 10 months ago

BKMbigo commented 1 year ago

The current iteration of defining a game move looks like Ace of Spades move FromFoundation to TableStackEntry.ONE. However, the to is similar to to from kotlin stdlib (used to define a Pair). The function needs to be renamed to another name that isn't resolved to a stdlib function and has similar semantic meaning. Hint: You can rename to towards