swanbox is an awesome library/platform/collection of apps that lets you experience the fun and intimacy of a LAN game on your mobile phone. Current available demos include a pattern memory game and poker.
To begin: Install the gradle plugin for eclipse. Then install maven. You will need to install some libraries to your local .m2 repostorybecause they don't publish up to maven central, so cd into swanlib/libs and run the install script. Then in eclipse, import existing GRADLE PROJECTS. Import the android/core/desktop versions. Then install swanlib into your local repository (you will have to do this every time you make a change to swanlib) by running ./gradlew install
in the swanlib dir.
The desktop versions will run from eclipse in the usual way of run->java application because there are no special build instructions (if we add anything, we'll need to make this command line based). To run android, you will need to type ./gradlew android:installDebug android:run
which will install it on the phone and run it. To run the swan server, cd into the server directory and run python swan_server.py
. Remember to have gevent-socketio installed.