Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate JSkat base module to Kotlin #86

Open
b0n541 opened this issue Nov 19, 2020 · 1 comment
Open

Migrate JSkat base module to Kotlin #86

b0n541 opened this issue Nov 19, 2020 · 1 comment

Comments

@b0n541
Copy link
Owner

b0n541 commented Nov 19, 2020

Kotlin enables multiplatform re-use of JSkat base code not limited to Android.
Kotlin leads to less boiler plate code that is easier to read.
Kotlin is also more fun.

@b0n541
Copy link
Owner Author

b0n541 commented Nov 19, 2020

One good start would be migration of all events and commands for the event busses to Kotlin data classes.
Another starting point is the big mutable SkatGameData class. This one should be converted into an immutable data class with copy() operations to create the next iteration after a player did a move.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant