Open rubo77 opened 10 years ago
DriftingDroids is released under GNU GPL. Therefore, any program that uses (parts of) its code has to be distributed under the same conditions. (Copyleft)
Yes, it should be possible to port the program to Android. I would be very happy to see a mobile app that includes my (or any!) solver algorithm. Feel free to do it! If I can somehow help with this then just let me know.
The back-end code (in package "driftingdroids.model") including the solver algorithm(s) has dependencies to a few standard Java classes only, just some basic "java.util" stuff. So it should run on Android without any changes.
The Swing-GUI with all it's features must of course be replaced by an Android-specific implementation. Depending on the number of required features this can be a lot of work.
The existing GUI implementation is quite a mess. It needs some serious refactoring before any of it can be re-used for an alternative version. Initially the program was only a (crude) solver algorithm with no user interface at all. The Swing GUI started as a simple visualization helper for debugging. After a while it grew, got more features and transformed the program into a real application. Now it's quite usable I think and it even has localization, 4 languages currently available.
Two French men have written in March/April 2015 an Android app called Bouncing Spheres which uses the solver algorithm implementation of DriftingDroids. http://perso-laris.univ-angers.fr/~projetsei4/1415/P2/index.html https://github.com/imefGames/ProjetEi4_Android
They archived their project, but I built an Android APK of it:
New release of Bouncing Spheres for Android:
https://github.com/rubo77/Bouncing-Spheres/releases/tag/v2.3
I renamed the Android app to "Roboyard"
New release Version 8.0
https://github.com/rubo77/Roboyard/releases/
https://play.google.com/store/apps/details?id=de.z11.roboyard
New Version 9.1
Version 9.0
Version 8.1
Would it be possible to port this to Android?
If so, how about the licencing?
If it is all free, I would like to create a free app for download out of your code, if you agree?